Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you make it work with Fortitoken #58

Open
schwit61 opened this issue May 12, 2022 · 3 comments
Open

Can you make it work with Fortitoken #58

schwit61 opened this issue May 12, 2022 · 3 comments

Comments

@schwit61
Copy link

https://www.fortinet.com/content/dam/fortinet/assets/data-sheets/fortitoken.pdf
Fortinet says it is OATH-TOTP (RFC6238) compliant

@dlenski
Copy link
Owner

dlenski commented May 12, 2022

Can you make it work with Fortitoken

I'm not a mind reader. What are you asking for here?

Are you asking if the python-vipaccess source can be modified to support a whole different web-based service for provisioning TOTP tokens?

If so, yes, this code would probably be a good starting point.

I have no need for this myself though, nor the time/interest to do it for fun.

If you can figure out how the Fortitoken provisioning service works, and want to integrate it in here, then PRs are welcome 😄

@schwit61
Copy link
Author

Fortitioken is TOTP based. Some of the legwork may have been done here
https://jonstoler.me/blog/extracting-fortitoken-mobile-totp-secret

@dlenski
Copy link
Owner

dlenski commented May 13, 2022

Fortitioken is TOTP based. Some of the legwork may have been done here
https://jonstoler.me/blog/extracting-fortitoken-mobile-totp-secret

This is a nicely-explained bit of reverse engineering work, but it's not directly applicable to python-vipaccess.

  • python-vipaccess works by replicating the web-based provisioning process to generate a new TOTP token, so that the closed-source VIP Access apps are never involved at all
  • This blog post involves running the closed-source Fortitoken app to provision a token, then figuring out how to deobfuscate/extract the token secret from its on-device storage.

If you want to make python-vipaccess work with Fortitoken, you'd need to figure out the web-based provisioning process for Fortitoken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants