Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slips
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
slips
Commits
c5681638
Commit
c5681638
authored
Mar 31, 2016
by
Peter Privalinec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed title of decrypted entry title & change name of dropbox app
parent
8b6416c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pwdreader.py
slip-0016/pwdreader.py
+3
-2
No files found.
slip-0016/pwdreader.py
View file @
c5681638
...
@@ -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 Password
s
/'
)
#print 'path to file:', path
#print 'path to file:', path
encKey
=
getFileEncKey
(
masterKey
)[
2
]
encKey
=
getFileEncKey
(
masterKey
)[
2
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment