Skip to content

TOTP integration#375

Open
ricoandreaslepp wants to merge 41 commits intomrash:masterfrom
ricoandreaslepp:master
Open

TOTP integration#375
ricoandreaslepp wants to merge 41 commits intomrash:masterfrom
ricoandreaslepp:master

Conversation

@ricoandreaslepp
Copy link
Copy Markdown

#354

An attempt to integrate the Time-based One-Time Passwords (TOTP) with fwknop. The implementation was done according to RFC 6238, tested with common authenticator applications such as Google Authenticator. Parameters (time-step value and TOTP digits) are not currently configurable, but could be done.

To validate the TOTP, an optional field was added inside the SPA packet, that is sent to the server from the client. If the client's access.conf file contains the TOTP_BASE32 parameter on the server, then the code is calculated and compared to the one obtained from the SPA packet data (after the HMAC verification and blob decryption).

Base32 utility functions were added into the libfko library based on RFC 4648.

All the work was done as part of a Bachelor's thesis on Single Packet Authorization at the University of Tartu.

…memory, allow client to use GPG, Rijndael or TOTP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant