~ed.so/duplicity/reuse-passphrase-for-signing-fix

« back to all changes in this revision

Viewing changes to duplicity/commandline.py

  • Committer: Kenneth Loafman
  • Date: 2011-07-29 21:13:16 UTC
  • mfrom: (761.3.1 duplicity_bzr)
  • Revision ID: kenneth@loafman.com-20110729211316-u2y6yk1df4sptln7
MergedĀ inĀ lp:~ed.so/duplicity/encr-sign-key2

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
 
249
249
    # secret keyring in which the private encrypt key can be found
250
250
    parser.add_option("--encrypt-secret-keyring", type="string", metavar=_("path"))
 
251
    
 
252
    parser.add_option("--encrypt-sign-key", type="string", metavar=_("gpg-key-id"),
 
253
                      dest="", action="callback",
 
254
                      callback=lambda o, s, v, p: ( globals.gpg_profile.recipients.append(v), set_sign_key(v)) )
251
255
 
252
256
    # TRANSL: Used in usage help to represent a "glob" style pattern for
253
257
    # matching one or more files, as described in the documentation.