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
7af4f631
Commit
7af4f631
authored
8 years ago
by
chren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix proper comments
parent
05b7126a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pwdreader.py
slip-0016/pwdreader.py
+2
-2
No files found.
slip-0016/pwdreader.py
View file @
7af4f631
...
@@ -75,7 +75,7 @@ def decryptEntryValue(nonce, val):
...
@@ -75,7 +75,7 @@ def decryptEntryValue(nonce, val):
data
=
data
+
decryptor
.
finalize
()
data
=
data
+
decryptor
.
finalize
()
return
json
.
loads
(
data
)
return
json
.
loads
(
data
)
#
d
ecrypt give entry nonce
#
D
ecrypt give entry nonce
def
getDecryptedNonce
(
entry
):
def
getDecryptedNonce
(
entry
):
print
print
print
'Waiting for TREZOR input ...'
print
'Waiting for TREZOR input ...'
...
@@ -91,7 +91,7 @@ def getDecryptedNonce(entry):
...
@@ -91,7 +91,7 @@ def getDecryptedNonce(entry):
))
))
return
decrypted_nonce
return
decrypted_nonce
#
p
retty print of list
#
P
retty print of list
def
printEntries
(
entries
):
def
printEntries
(
entries
):
print
'Password entries'
print
'Password entries'
print
'================'
print
'================'
...
...
This diff is collapsed.
Click to expand it.
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