mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
b104d0a5bb
commit
88b2612ea9
@ -70,12 +70,11 @@ class KomradeSymmetricKeyWithPassphrase(KomradeSymmetricKey):
|
||||
def hash(self,x): return self.crypt_keys.hash(x)
|
||||
|
||||
def __init__(self,passphrase=DEBUG_DEFAULT_PASSPHRASE, why=WHY_MSG):
|
||||
# if not passphrase:
|
||||
# # raise KomradeException
|
||||
# self.passphrase=getpass(why)
|
||||
# else:
|
||||
# self.passphrase=passphrase
|
||||
self.passphrase=getpass(why)
|
||||
if not passphrase:
|
||||
# raise KomradeException
|
||||
self.passphrase=getpass(why)
|
||||
else:
|
||||
self.passphrase=passphrase
|
||||
# if passphrase: self.passphrase=passphrase
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user