If the option is not used and gpg.conf has a default-cert-level setting, that will be used instead. --- monkeysign/ui.py | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/monkeysign/ui.py b/monkeysign/ui.py index 0ac9b0a..b18b5ef 100644 --- a/monkeysign/ui.py +++ b/monkeysign/ui.py @@ -75,6 +75,7 @@ class MonkeysignUi(object): parser.add_option('-n', '--dry-run', dest='dryrun', default=False, action='store_true', help=_('do not actually do anything')) parser.add_option('-u', '--user', dest='user', help=_('user id to sign the key with')) + parser.add_option('--cert-level', dest='certlevel', help=_('certification level to sign the key with')) parser.add_option('-l', '--local', dest='local', default=False, action='store_true', help=_('import in normal keyring a local certification')) parser.add_option('-k', '--keyserver', dest='keyserver', @@ -155,6 +156,8 @@ class MonkeysignUi(object): self.tmpkeyring.context.set_option('keyserver', self.options.keyserver) if self.options.user is not None: self.tmpkeyring.context.set_option('local-user', self.options.user) + if self.options.certlevel is not None: + self.tmpkeyring.context.set_option('default-cert-level', self.options.certlevel) self.tmpkeyring.context.set_option('secret-keyring', self.keyring.homedir + '/secring.gpg') # copy the gpg.conf from the real keyring -- 1.7.10.4 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org