From 8323abee4c19e2384a2a3a8e2a5829f73bbecfce Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 8 Jun 2017 21:04:33 +0200 Subject: [bug] pass the --private flag to the dispatcher - Resolves: #8923 --- src/leap/bitmask/cli/keys.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/leap') diff --git a/src/leap/bitmask/cli/keys.py b/src/leap/bitmask/cli/keys.py index b11d2801..0412efe3 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): -- cgit v1.2.3