Skip to content

Commit

Permalink
Update BitwardenDecrypt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GurpreetKang committed Aug 8, 2022
1 parent 1165e9a commit 38034ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BitwardenDecrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ def decryptBitwardenJSON(options):
organizationKeys = datafile['keys']['organizationKeys']['encrypted']

# Get/Decrypt All Organization Keys
for uuid, key in organizationKeys.items():
BitwardenSecrets['OrgSecrets'][uuid] = decryptRSA(key, BitwardenSecrets['RSAPrivateKey'])
for uuid in organizationKeys.items():
BitwardenSecrets['OrgSecrets'][uuid[0]] = decryptRSA(uuid[1]['key'], BitwardenSecrets['RSAPrivateKey'])


for a in datafile['data']:
Expand Down

0 comments on commit 38034ad

Please sign in to comment.