Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

2 factor authentication - optimum length of code?

  • 11-01-2015 01:37PM
    #1
    Registered Users, Registered Users 2 Posts: 715 ✭✭✭


    Hi,

    In the last week I've signed into a bunch of accounts using 2-factor authentication. For the second factor I've had a PIN sent to me by SMS:
    - One Irish telco use 4 digits
    - One webmail provider used 6 digits
    - And this morning a cloud application used 7 digits.

    One might argue that the more valuable the data accessed, the longer the string needs to be - but surely in practice, 6 digits are always enough because the 2-factor PIN shouldn't allow more than a few retries?


Comments

  • Registered Users, Registered Users 2 Posts: 11,202 ✭✭✭✭hmmm


    The PINs would also have an expiry time set, and most will have brute force protection. All these factors would feed into an optimum length of code, depending on the risk assessment and the sensitivity of what was being protected.


  • Closed Accounts Posts: 158 ✭✭obsidianclock


    Reesy wrote: »
    Hi,

    In the last week I've signed into a bunch of accounts using 2-factor authentication. For the second factor I've had a PIN sent to me by SMS:
    - One Irish telco use 4 digits
    - One webmail provider used 6 digits
    - And this morning a cloud application used 7 digits.

    One might argue that the more valuable the data accessed, the longer the string needs to be - but surely in practice, 6 digits are always enough because the 2-factor PIN shouldn't allow more than a few retries?

    I think you're right Reesy, provided no more than a few retries are allowed, I would say six digits are more than enough.


Advertisement