Skip to content

Instantly share code, notes, and snippets.

@jleclanche
jleclanche / freeotp_backup.md
Created Jul 19, 2017
A guide to back up and recover 2FA tokens from FreeOTP (Android)
View freeotp_backup.md

Backing up and recovering 2FA tokens from FreeOTP

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 Jul 2, 2022
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