README.md (647B)
1 # Totp Generator 2 Program to generate TOTP verification codes 3 4 ## GPG commands for setup 5 If you're unfamiliar with GPG then I recommend to look for online guides. However, here are the commands you'll need to run the program: 6 7 1. create new keypair: 8 $ gpg --full-gen-key 9 2. encrypt file: 10 $ gpg -e filename 11 3. export private key: 12 $ gpg --export-secret-keys --armor keyIDNumber/email > secret.asc 13 14 ## How to use 15 1. Create an application.properties file with following properties: 16 1. dir.path: path to directory with .gpg extension files which contain the TOTP secret code 17 2. secret.file: gpg exported asc file to decrypt the TOTP files