Follow-up Comment #1, sr #108846 (project oath-toolkit):
Have a look at my implementation.
User config file sample:
http://ix.io/jvC
(is stored as ~USERNAME/.oathtool.conf)
Python script:
http://ix.io/jvD
(store somewhere in user path, suggest /usr/local/bin)
Requires:
python-gnupg
Create the secret files as follows:
$ echo -en "secretstring" |
gpg -e -a -o servicename.gpg -r YOURGPGKEY_OR_EMAIL
(NB: use space before echo so as to not enter history)
Or you could just create the gpg file with symmetric encryption...
Make sure that you don't include a trailing line feed for the secret!
Obviously using "-a" for ASCII armour is optional....
Enjoy.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/support/?108846>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/