keychain-uses-objects
quadrismegistus 4 years ago
parent 35f6886cd4
commit 64f01dacbc

@ -183,9 +183,9 @@ class Komrade(Caller):
# check password
if not passphrase: passphrase=self.passphrase
while not passphrase:
from getpass import getpass
passphrase = getpass('@Keymaker: Enter password for {self} in order to decrypt the encrypted private key:\n\n')
# while not passphrase:
# from getpass import getpass
# passphrase = getpass('@Keymaker: Enter password for {self} in order to decrypt the encrypted private key:\n\n')
# assemble privkey?
privkey = self.keychain(passphrase=passphrase).get('privkey')

@ -170,7 +170,7 @@ class TheOperator(Operator):
self.log('names did not match!')
success = False
# # check pubkey?
elif uri != b64enc(pubkey_record):
elif uri != pubkey_record:
pass
# name,
# prefix='/pubkey/'

Loading…
Cancel
Save