diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-06-08 21:04:33 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-06-12 20:34:15 +0200 |
commit | 8323abee4c19e2384a2a3a8e2a5829f73bbecfce (patch) | |
tree | c90d8d86dfbb1ac4978aa923f823d6afd49125ef /src/leap/bitmask | |
parent | f0117969b19e05d568a108b12390c47a011576f6 (diff) |
[bug] pass the --private flag to the dispatcher
- Resolves: #8923
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/cli/keys.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/leap/bitmask/cli/keys.py b/src/leap/bitmask/cli/keys.py index b11d280..0412efe 100644 --- a/src/leap/bitmask/cli/keys.py +++ b/src/leap/bitmask/cli/keys.py @@ -78,6 +78,10 @@ SUBCOMMANDS: if not userid: userid = self.cfg.get('bonafide', 'active', default='') self.data += ['export', userid, subargs.address[0]] + if subargs.private: + self.data += ['private'] + else: + self.data += ['public'] return self._send(self._print_key) @@ -124,6 +128,10 @@ SUBCOMMANDS: userid = self.cfg.get('bonafide', 'active') self.data += ['delete', userid, subargs.address[0]] + if subargs.private: + self.data += ['private'] + else: + self.data += ['public'] return self._send() def _print_key_list(self, keys): |