JP Mens on Nostr: Experimental: a screen of a TOTP token in #2FAS and simultaneously a token for the ...
Experimental: a screen of a TOTP token in #2FAS and simultaneously a token for the same account obtained (relatively securely) in the shell.
If this all still works tomorrow, and I can remember which bits are exported from where and to whom and from whence, I'll elaborate.
Some of the pieces: age(1) encryption, macOS KeyChain for the private key, grep(1), and Go for the TOTP calculation.
Published at
2024-02-22 17:08:48Event JSON
{
"id": "eeefbc72499182de3a34826355d47d24b77a8fe9d6e3b677f30b0e66a35175b7",
"pubkey": "4421e6f8f57df36e663f1a4568344196e61ea62eb94203c9c02d83bcb3eb9c66",
"created_at": 1708621728,
"kind": 1,
"tags": [
[
"t",
"2fas"
],
[
"proxy",
"https://mastodon.social/users/jpmens/statuses/111976233604259881",
"activitypub"
]
],
"content": "Experimental: a screen of a TOTP token in #2FAS and simultaneously a token for the same account obtained (relatively securely) in the shell.\n\nIf this all still works tomorrow, and I can remember which bits are exported from where and to whom and from whence, I'll elaborate.\n\nSome of the pieces: age(1) encryption, macOS KeyChain for the private key, grep(1), and Go for the TOTP calculation.\n\nhttps://files.mastodon.social/media_attachments/files/111/976/214/299/619/433/original/1177fd7a073ed972.png\n\nhttps://files.mastodon.social/media_attachments/files/111/976/218/366/323/306/original/990db81346d6baa6.png",
"sig": "5db4ba47b8bc7c8e7bb34865f4f9d5979e02e837caa98dfc5717ef469e3d9771d910dcc36641d6653bda1d3b50bcd89aa5fbb427a1fb9ef3e72e716d059a16ae"
}