Foil Auth is an HMAC-based generator of One-Time Passwords which keeps secret keys encrypted.
Both HOTP (counter based) and TOTP (time based) passwords are supported.
The format of encrypted files is described here.