Skip to content

Commit

Permalink
Incorporated Pull Requests and Other Updates
Browse files Browse the repository at this point in the history
Incorporate pull requests CooperRS#8, CooperRS#9, and CooperRS#11 from original decrypt-otpauth-files, plus some additional edits.
  • Loading branch information
LawHoo committed Mar 17, 2022
1 parent 2b71b60 commit ecb0754
Show file tree
Hide file tree
Showing 7 changed files with 873 additions and 50 deletions.
34 changes: 34 additions & 0 deletions ExecutionNotes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Use Ubuntu 20.04
Edit Software Update settings to enable proprietary packages
sudo apt-get update
sudo apt-get install p7zip-full
sudo snap install p7zip-desktop
sudo apt install git
git clone https://github.com/LawHoo/decrypt-otpauth-files.git
cd decrypt-otpauth-files
sudo apt install pipenv

### DISCONNECT FROM INTERNET FOR MAXIMUM SECURITY

cd decrypt-otpauth-files
pipenv --python /usr/bin/python3.8
pipenv --rm
pipenv install
pipenv shell

### The original version of decrypt_otpauth.py required you to keep hitting "Enter" once for each OTP entry (whether the results were being displayed or saved to a file)
### until the terminal prompt returns (once per OTP entry in the database)
### To avoid that, run decrypt_otpauth_nopause.py

### First, run through and save as PDF
python3 decrypt_otpauth.py decrypt_backup --encrypted-otpauth-backup backup-1.1.otpauthdb --pdf-out OTPdecrypted.pdf

### Second, run through and save the output to a file.
python3 decrypt_otpauth_export_to_file.py decrypt_backup --encrypted-otpauth-backup backup-1.1.otpauthdb > OTPdecrypted.txt

### Then, can run through and view the QR codes:
python3 decrypt_otpauth_nopause.py decrypt_backup --encrypted-otpauth-backup backup-1.1.otpauthdb

### Open p7zip desktop and encrypt the files using the normal settings (be sure to check "Encrypt file names")

e0757ffcca4e97950c6a2d21116d64e3c810948b29c57cfbd3a90a76a082d7e9
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2017 Roland Moers
Copyright (c) 2022 Andrew Stockment

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 5 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ name = "pypi"
[dev-packages]

[packages]
rncryptor = "==3.2.0"
rncryptor = "==3.3.0"
bpylist = "==0.1.4"
click = "==6.7"
pyqrcode = "==1.2.1"
pycryptodome = "==3.9.1"
pypng = "==0.0.20"
reportlab = "==3.5.53"
pillow = "==7.2.0"

[requires]
python_version = "3.7"
python_version = "3.8"
168 changes: 129 additions & 39 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ecb0754

Please sign in to comment.