Skip to content

Instantly share code, notes, and snippets.

@jleclanche
jleclanche / freeotp_backup.md
Last active March 19, 2023 13:15
A guide to back up and recover 2FA tokens from FreeOTP (Android)
View freeotp_backup.md

Backing up and recovering 2FA tokens from FreeOTP

NOTE: THIS MAY NOT WORK ANYMORE - SEE COMMENTS

Backing up FreeOTP

Using adb, create a backup of the app using the following command:

adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active March 17, 2023 23:43
Self Signed Certificate with Custom Root CA
View self-signed-certificate-with-custom-ca.md

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096