/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: 2016-10-08 04:24:29 UTC
  • mfrom: (880 trunk)
  • mto: This revision was merged to the branch mainline in revision 881.
  • Revision ID: teddy@recompile.se-20161008042429-xn41ls94f91ny3ba
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
        #Handle: <no-spaces>
219
219
        #%pubring pubring.gpg
220
220
        #%secring secring.gpg
 
221
        %no-protection
221
222
        %commit
222
223
        EOF
223
224
    
324
325
            cat "$PASSFILE"
325
326
        else
326
327
            tty --quiet && stty -echo
327
 
            echo -n "Enter passphrase: " >&2
 
328
            echo -n "Enter passphrase: " >/dev/tty
328
329
            read first
329
330
            tty --quiet && echo >&2
330
 
            echo -n "Repeat passphrase: " >&2
 
331
            echo -n "Repeat passphrase: " >/dev/tty
331
332
            read second
332
333
            if tty --quiet; then
333
334
                echo >&2