4 ms·
The usability of Duo Security's SSH two-factor and PAM two-factor make Google MFA look like an early beta of Microsoft Bob. It's already in the most popular re
by MacsHeadroom 11y ago
The usability of Duo Security's SSH two-factor and PAM two-factor make Google MFA look like an early beta of Microsoft Bob.
It's already in the most popular repos. It's used by the likes of NASA, Facebook, Box, Arbor Networks, Internet2, Twilio, Yelp, etc.
https://www.duosecurity.com/docs/duounix https://www.duosecurity.com/docs/duounix
- nnx 11y agoDuo Security looks nice - but don't you run the risk of getting locked out from your own servers if Duo is unavailable or suddenly closes down? What's the contingency?
- nav1 11y agoThe app still generates offline codes as a backup, iirc.
- chrisper 11y agoYou can either use offline (SMS) codes or you can configure that it allows you to connect without duo if the system is offline.
- jimktrains2 11y agoHow is SMS offline? If Duo isn't there, where is the SMS coming from?
- chrisper 11y agoSorry for the late reply. You can basically set up to send yourself an SMS with codes that you can use offline I think. Actually, I am not quite sure if they would work offline. So I think you are right. Sorry.
- ryan-c 11y agoGoogle Autenticator can't be bypassed by someone with access to Google's systems. Duo's two factor auth can be bypassed by someone with access to Duo's systems. For what it's worth, I agree that Duo has better usability, and is probably the better solution in most cases. TOTP is the more paranoid option.
- w8rbt 11y agoI believe that Google Authenticator uses TOTP. Six digit HMAC-SHA1 TOTP from a base32 encoded secret using a 30 second timestep. At least, that has been my experience. I wrote an OATH client and it works with Google Authenticator using those parameters. https://github.com/w8rbt/oathgen https://github.com/w8rbt/oathgen Duo supports this as well (and also other TOTP/HOTP modes). If you have access to a Duo account, look at the 'Import Hardware Tokens' feature under 'Devices'. That's not named accurately. Really it should be named, 'Import TOTP/HOTP secrets' as that's what they ask you to import and those secrets can be used in OATH compliant HW fobs or any software that does standard TOTP/HOTP. They also allow you to import Yubikeys as well if you like (of course, that's not OATH).
- teraflop 11y agoTOTP relies on a shared secret. With Google Authenticator, the secret is shared between your phone and the SSH server you're logging into. With Duo, the secret is shared between your phone and Duo's API backend; the server has no independent way of authenticating it.
- yeukhon 11y ago> Duo's two factor auth can be bypassed by someone with access to Duo's systems. This is interesting... why?
- teraflop 11y agoUse the source, Luke: https://github.com/duosecurity/duo_unix/blob/master/lib/duo.c#L478 https://github.com/duosecurity/duo_unix/blob/master/lib/duo.... Authorization is done by making a POST request to a Duo-controlled server. If the response is the string "allow", it lets you in; if it's "deny", it doesn't. Duo can make that server return whatever they want.