Commit c5681638 authored by Peter Privalinec's avatar Peter Privalinec

fixed title of decrypted entry title & change name of dropbox app

parent 8b6416c5
...@@ -80,7 +80,8 @@ def getDecryptedNonce(entry): ...@@ -80,7 +80,8 @@ def getDecryptedNonce(entry):
print print
print 'Waiting for TREZOR input ...' print 'Waiting for TREZOR input ...'
print print
ENC_KEY = ''.join(('Unlock ', entry['title'], ' for user ', entry['username'], '?')) title = entry['title'].replace("http://","").replace("https://","")
ENC_KEY = ''.join(('Unlock ', title, ' for user ', entry['username'], '?'))
ENC_VALUE = entry['nonce'] ENC_VALUE = entry['nonce']
decrypted_nonce = hexlify(client.decrypt_keyvalue( decrypted_nonce = hexlify(client.decrypt_keyvalue(
getPath(), getPath(),
...@@ -117,7 +118,7 @@ def main(): ...@@ -117,7 +118,7 @@ def main():
fileName = getFileEncKey(masterKey)[0] fileName = getFileEncKey(masterKey)[0]
#print 'file name:', fileName #print 'file name:', fileName
path = os.path.expanduser('~/Dropbox/Apps/TREZOR Password Manager/') path = os.path.expanduser('~/Dropbox/Apps/TREZOR Passwords/')
#print 'path to file:', path #print 'path to file:', path
encKey = getFileEncKey(masterKey)[2] encKey = getFileEncKey(masterKey)[2]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment