gauth
tpm2-totp
gauth | tpm2-totp | |
---|---|---|
5 | 5 | |
305 | 149 | |
- | 7.4% | |
3.4 | 0.0 | |
3 months ago | about 2 months ago | |
Go | C | |
ISC License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gauth
- Aegis Authenticator – Secure 2FA App for Android
-
TOTP tokens on my wrist with the smartest dumb watch
I use https://github.com/pcarrier/gauth
It relies on file permissions so is not exactly robustly secure (no idea about RAM vulnerabilities etc).
As per the author, I consider my laptop the fundamental point of vulnerability. If someone else gets access to it, I'll know and I'll hit the metaphorical panic button :)
- Ask HN: Does anyone else think this 2FA everywhere is getting out of hand?
-
Ask HN: Why is today's Internet experience so user hostile?
I was able to take a screenshot of GAuth backups on iPhone using the button hotkeys(IE: Power+Volume up). I setup a container that runs a go version of GAuth and used a python script to decrypt the (decrypted QR code) backup keys. Then I backed up the encrypted keyfile to offline disk, encrypted the container backup and deleted it from the hypervisor.
https://github.com/pcarrier/gauth
https://github.com/scito/extract_otp_secret_keys
-
A simpler and safer future – without passwords
> A future without passwords
No, thank you, especially if Google is going to be the gatekeeper.
https://github.com/pcarrier/gauth FTW
tpm2-totp
-
TOTP tokens on my wrist with the smartest dumb watch
You need a TPM 2.0 compatible CPU, but something like this sounds really excellent: https://github.com/tpm2-software/tpm2-totp
This means your laptop itself would be your hardware device, the TOTP secret would be stored in the TPM and theoretically impossible to steal/copy. Of course this means you will probably want a mobile device (possibly a second laptop also) as a backup.)
- Can you detect tampering in /boot without SecureBoot on Linux?
-
Authenticated Boot and Disk Encryption on Linux
>But okay, you may extend my attack by saying that you exchange the motherboard between the victim and the attacker laptop, so that you don't need to replicate the chassis.
Modern computers has tamper detection and if you open them you'll need to type the BIOS password.
However, replacing the motherboard is going to replace the TPM. This is easily detectable with something like tpm2_totp in the bootchain.
https://github.com/tpm2-software/tpm2-totp
- Attest computer secure boot state to phone via time-based OTP and TPM
-
Does the TPM boost secure boot security?
You could also use TOTP for a kind of remote attestation (e.g., with your phone computing TOTP). In this setup, the CPU sends the timestamp to the TPM, and it returns the TOTP value. So instead of you looking at your phone to give the TOTP to a service provider to prove that you're in possession of your phone, the computer gives you a TOTP value to prove that it's in possession (inside the TPM, sealed to the boot chain hashes) of the TOTP secret, and you use your phone to verify this. A possible weakness (short of a full-blown TPM compromise) would be to send a bunch of forged timestamps to the TPM while your computer is running and store the resulting TOTP values, then tamper with Secure Boot and emit the precomputed TOTP corresponding to the current timestamp whenever you boot up your computer. But this would require running malicious code on your compute while you're logged in with the trusted boot chain.
What are some alternatives?
ios-application - A native, lightweight and secure one-time-password (OTP) client built for iOS; Raivo OTP!
sbctl - :computer: :lock: :key: Secure Boot key manager
google-authenticator - Open source version of Google Authenticator (except the Android app)
mortar - Framework to join Linux's physical security bricks.
totp-cli - Authy/Google Authenticator like TOTP CLI tool written in Go.
btrfs-todo - An issues only repo to organize our TODO items
totp-cli - A cli-based pass-backed TOTP app.
heads - A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.
extract_otp_secrets - Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.
cryptboot - Encrypted boot partition manager with UEFI Secure Boot support
decrypt-otpauth-files - Decrypt files created by OTP Auth
BangleApps - Bangle.js App Loader (and Apps)