/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-keygen

  • Committer: Teddy Hogeborn
  • Date: 2012-10-24 19:34:13 UTC
  • Revision ID: teddy@recompile.se-20121024193413-yiorm0x5lj48fu7i
* mandos: Comment changes.
* mandos-keygen (--password): Fix bashism.  Thanks to Raphael Geissert
                              <atomo64@gmail.com> for the bug report.

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
            cat "$PASSFILE"
295
295
        else
296
296
            tty --quiet && stty -echo
297
 
            read -p "Enter passphrase: " first
 
297
            echo -n "Enter passphrase: "
 
298
            read first
298
299
            tty --quiet && echo >&2
299
 
            read -p "Repeat passphrase: " second
 
300
            echo -n "Repeat passphrase: "
 
301
            read second
300
302
            if tty --quiet; then
301
303
                echo >&2
302
304
                stty echo