Skip to content

Unable to add more credentials #638

@Sector14

Description

@Sector14

My NK3 had 10 credentials and I needed to add one more,so I deleted an old test credential for passkeys.io however the device still showed 0 estimated slots available. So I deleted one other credential and list-credentials says "There are 8 registered credentials" ... "estimated amount of 0 credential slots left".

If I try to create a new passkey via google or passkeys.io I receive an error on windows saying the device is full and on linux a generic, something went wrong message.

$ nitropy nk3 version
Command line tool to interact with Nitrokey devices 0.8.1
v1.8.1

My second NK3 has 9 registered credentials and shows an estimated 1 slots free. This is running an older firmware version:

Command line tool to interact with Nitrokey devices 0.8.1
v1.5.0

With v1.5.0 I was able to use up all 10 slots, then delete a passkeys.io credential and it again shows 1 slot spare. On version 1.8.1 it shows 0 slots spare.

Has the number of slots being reduced on newer firmware versions? It's quite frustrating how many sites are using discoverable credentials that take up slots rather than requesting email and then using non-discoverable :(

edit: It appears if you use Google Chome to add a passkey to a google account, if there are 0 slots left it will automatically add a non-discoverable passkey, which is what I want. However, the above issue still remains that I have 8 slots used and 0 available so can't add any further discoverable credentials on this token. I might try a factory reset over the weekend and generate new passkeys.

edit2: Did a factory reset and created 10 dummy credentials via webauthn and then deleted a few and the slots became available. Whatever the issue was, reset fixed it. I don't plan to update my 2nd NK3 just yet to latest firmware, but when I do I'll add a note to this issue if it experiences the same problem after the update and before a factory reset.

edit3: Updated my 2nd NK2 to latest firmware, this time I did the upgrade on Linux. No issue with this key deleting credentials and adding more again. First one I upgraded via windows, may or may not be relevant though.

I have noticed with both keys I'm unable to delete credentials via nitropy on windows (msi installer version). Works fine on linux though. It raises an exception stating the credential id is not a valid hex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions