Change entropy message for vault
parent
dc403eb21e
commit
86b9f84fb9
|
@ -404,7 +404,7 @@ class AES(object):
|
||||||
|
|
||||||
# Get a block of random data. EL does not have Crypto.Random.new()
|
# Get a block of random data. EL does not have Crypto.Random.new()
|
||||||
# so os.urandom is used for cross platform purposes
|
# so os.urandom is used for cross platform purposes
|
||||||
print "WARNING: if encryption hangs, add more entropy (suggest using mouse inputs)"
|
print "WARNING: if encryption hangs, add more entropy (possibly mouse/keyboard inputs)"
|
||||||
salt = os.urandom(bs - len('Salted__'))
|
salt = os.urandom(bs - len('Salted__'))
|
||||||
|
|
||||||
key, iv = self.aes_derive_key_and_iv(password, salt, key_length, bs)
|
key, iv = self.aes_derive_key_and_iv(password, salt, key_length, bs)
|
||||||
|
|
Loading…
Reference in New Issue