k1nky / netbox-otp-plugin

This netbox plugin adds support for one-time password (OTP) to Netbox.
Apache License 2.0
23 stars 3 forks source link

YubiKey OTP #4

Open wdetter opened 1 year ago

wdetter commented 1 year ago

Hi,

seems like MFA is not working yet with YubiKey, so I'd suggest to extend this plugin. There is django-otp-yubikey library which could be helpful: https://django-otp-yubikey.readthedocs.io/en/latest/ - unfortunatly I'm not a Python developer.

thanks, Werner

Faabvk commented 1 year ago

Hi,

I'd like to extend on this feature request by proposing integration of the Web Authentication API. It's an API that's slowly being baked into many browsers and devices that allows for YubiKeys, but also much more methods of multi-factor authentication, like Touch ID and Face ID on Apple devices, phones as security keys using BLE, etc.

There is a Django app for it: https://github.com/mkalioby/django-mfa2/ More about WebAuthn: https://webauthn.guide/ WebAuthn Demo: https://webauthn.io/

k1nky commented 1 year ago

WebAuthn looks very interesting. However, this will require significant changes to the plugin. I think it's worth to try with django-mfa2.