Question about NK3 "secrets"

Hello,

I just read this section of your good documentation. Can you please explain a bit in detail what are OTP secrets. And what exactly are passwords? Plain text strings? And the last question.

There is an option to add random data to the nk3 - nitropy nk3 rng. What does this mean and should I do so?

Regards. :slight_smile:

T.L.

Yes, passwords are just strings. OTP secrets are one-time passwords, typically TOTP, see Two-factor Authentication with One-Time Passwords (OTP) - Nitrokey Documentation. They can be used as a second factor similar to FIDO2.

nitropy nk3 rng does not add data to the Nitrokey, it provides random data backed by the hardware RNG of the Nitrokey. So you can use it for anything that requires random input.

Thank you for the explanation.

I thought the function

creates random data for key generating functions for e.G. a Initialization Vector or something else.

Can we configure how much random data and “what kind” this tool outputs? As far as I see it is usefull for e.G. KeePassXC.

The GUI I in this documentation belongs to Nitrokey App1 ?

This tab “OTP Configuration” is not present in the Nitrokey App2.

regards :waving_hand:

T.L.

You can use the --length parameter to set the amount. It will always output hex-encoded raw bytes.

Correct, I’ve created an issue to update it for App 2. Here’s the documentation for App 2: Passwords - Nitrokey Documentation

Thanks again! :slight_smile: