gotp icon indicating copy to clipboard operation
gotp copied to clipboard

[Preliminary] Add HTTP server for remote access to TOTP token

Open tschuy opened this issue 7 years ago • 1 comments

Intended usage: Add an auth proxy on top of the service. Two factor tokens can then be shared between members of a team without giving the token secret to each individual.

tschuy avatar Jul 14 '17 23:07 tschuy

This is a preliminary pull request adding support for serving tokens over HTTP. Its main problem right now is that it handles encryption poorly (which is... a minor issue for a tool that is based on encryption).

Right now, gotp requires gpg-agent to be running. If it's not, it'll error out (as part of the detection in #2). However, if there's no password on the key, it'll be perfectly happy to use the key to decrypt/encrypt a token. My other thought was to store the passphrase to the gpg key as a secret in an environment variable, but i'm not sure how much good that would do us.

tschuy avatar Jul 14 '17 23:07 tschuy