Skip to content

Commit f3e4aa5

Browse files
nitrosimonalexgithublabjans23mmerklinger
authored
document Nitrokey Passkey (#404)
--------- Co-authored-by: alexgithublab <gentil@et.esiea.fr> Co-authored-by: jans23 <jans23@users.noreply.github.com> Co-authored-by: Markus Merklinger <markus@nitrokey.com>
1 parent ce8b452 commit f3e4aa5

File tree

10 files changed

+261
-1
lines changed

10 files changed

+261
-1
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Nitrokey Passkey FAQ
2+
====================
3+
4+
**Q:** Which Operating Systems are supported?
5+
Windows, Linux, macOS and BSD. Also FIDO2 is supported on Android and iOS.
6+
7+
**Q:** What can I use the Nitrokey Passkey for?
8+
Second or first factor authentication for services which support Webauthn/Passkey/FIDO2/FIDO U2F.
9+
See the `overview <https://www.nitrokey.com/products/nitrokeys>`_ of supported use cases.
10+
11+
**Q:** How can I check if my Nitrokey Passkey is working?
12+
On `WebAuthn.io`_ you can check various high-level functionalities, while
13+
`webautn.bin.coffee`_ provides good developer level details (technical)
14+
details.
15+
You can also test your Nitrokey with `nitropy`_.
16+
17+
**Q:** What happens if I lose my Nitrokey Passkey device?
18+
When securing accounts using FIDO2 (two-factor authentication and
19+
passwordless login), you should configure another factor in your account as
20+
a backup. Depending on the service this backup factor can be a phone number,
21+
an app or even a second Nitrokey Passkey. If you lose a Nitrokey Passkey, you
22+
can still log in with the second Nitrokey Passkey (or with another second
23+
factor).
24+
25+
**Q:** How large is the storage capacity?
26+
The Nitrokey Passkey doesn't contain storage capability for ordinary data (it can
27+
only store cryptographic keys). It can hold over 100 passkeys resp. FIDO2 keys.
28+
29+
**Q:** How to use Nitrokey Passkey with Azure Entra ID (Active Directory)?
30+
After `disabling Enforce Attestation`_ Nitrokey Passkey is supported by Azure Entra ID out of the box.
31+
32+
**Q:** Why does the Nitrokey Passkey not show up in GnuPG?
33+
The Nitrokey Passkey has no support for OpenPGP.
34+
35+
**Q:** Why does the Nitrokey Passkey not show up in Nitrokey App?
36+
The Nitrokey Passkey is not supported by the Nitrokey App 1 and 2.
37+
38+
.. include:: ../../shared-faqs/hyperlinks.rst.inc
39+
.. _nitropy: ../../software/nitropy/index.html
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
Getting Started
2+
===============
3+
4+
Passkeys are a modern way to log into websites and apps without the need for traditional passwords, making it easier and safer for everyone.
5+
Here’s a simple breakdown of what passkeys are, how they work, and how to use the Nitrokey Passkey.
6+
7+
How do Passkeys Work?
8+
---------------------
9+
10+
Passkeys are a modern form of authentication that replaces passwords.
11+
First you register your Nitrokey Passkey to a website. This way a secret is stored on your Nitrokey Passkey.
12+
The magic happens when you log in:
13+
14+
When you want to access the service, the website will send a challenge to your device.
15+
If you haven't already done so, you plug in your Nitrokey and authenticate it (often via a button press or PIN).
16+
Your device uses the private key to respond securely to a challenge from the website, confirming your identity without sending your information across.
17+
18+
First Steps
19+
-----------
20+
The Nitrokey Passkey supports two-factor authentication (2FA) and
21+
passwordless authentication:
22+
23+
- With **passwordless authentication**, entering a password is replaced
24+
by logging in with the Nitrokey Passkey and a PIN.
25+
26+
- With **two-factor authentication** (2FA), the Nitrokey Passkey is
27+
checked in addition to the password.
28+
29+
The Nitrokey Passkey can be used with any current browser.
30+
31+
.. important::
32+
33+
The Nitrokey App can not be used for the Nitrokey Passkey.
34+
35+
Passwordless Authentication
36+
---------------------------
37+
38+
1. Open a web page that supports FIDO2 (for example
39+
`Google <https://myaccount.google.com/>`__).
40+
2. Log in to the website and go to “Passkeys and security keys” in the security
41+
settings of your account.
42+
3. Click on Create passkey.
43+
4. Click on Use a different device.
44+
5. Follow the prompts to set a PIN for your Nitrokey Passkey.
45+
6. Touch the button of your Nitrokey Passkey when prompted.
46+
7. Once you have successfully configured the device, you will need to
47+
activate your Nitrokey Passkey this way each time you log in, after
48+
entering your PIN.
49+
50+
Two-Factor Authentication (2FA)
51+
-------------------------------
52+
53+
1. Open one of the `websites that support FIDO
54+
U2F <https://www.dongleauth.com/>`__.
55+
2. Log in to the website and enable two-factor authentication in your
56+
account settings. (In most cases you will find a link to the
57+
documentation of the supported web service at
58+
`dongleauth.com <https://www.dongleauth.com/>`__)
59+
3. Register your Nitrokey Passkey in the account settings by touching the
60+
button to activate the Nitrokey Passkey. After you have successfully
61+
configured the device, you must activate the Nitrokey Passkey this way
62+
each time you log in.
63+
64+
You are now ready to go.
Binary file not shown.
26.5 KB
Loading
14.3 KB
Loading
145 KB
Loading

source/components/nitrokeys/passkey/index.rst

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
Nitrokey Passkey
22
================
33

4-
.. contents:: :local:
4+
Introduction
5+
------------
6+
7+
The Nitrokey Passkey is a secure authentication device designed to enhance two-factor authentication (2FA) and passwordless login using the FIDO2/WebAuthn standard.
8+
It provides a convenient way to protect digital identities by securely storing cryptographic keys within the hardware, ensuring sensitive information never leaves the device.
9+
Compatible with various platforms, including Windows, macOS, Linux, and mobile devices, the Nitrokey Passkey supports popular services such as Google and Microsoft without requiring proprietary software.
10+
With a focus on security and user privacy, the Nitrokey Passkey is an excellent choice for individuals and organizations looking to improve their cybersecurity.
511

612
The Nitrokey Passkey is the successor to the Nitrokey FIDO2. It is build on top of the technologies
713
and framework used within the Nitrokey 3. Find the latest `release notes`_ on GitHub.
@@ -11,3 +17,22 @@ Please see the :doc:`FIDO2 <../fido2/index>` pages for more FIDO2 related docume
1117
Currently there is only one firmware version, so no firmware update is necessary.
1218

1319
.. _release notes: https://github.com/Nitrokey/nitrokey-passkey-firmware/releases
20+
21+
.. contents:: :local:
22+
23+
First check the:
24+
25+
.. toctree::
26+
:maxdepth: 1
27+
:glob:
28+
29+
Getting Started <getting-started>
30+
Frequently Asked Questions <faq>
31+
Troubleshooting <troubleshooting>
32+
LED and Touch Button <led>
33+
Management <management>
34+
35+
or check out the features:
36+
37+
* `FIDO2 <../features/fido2/index.html>`_
38+
* `U2F <../features/u2f/index.html>`_
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
LED and Touch Button
2+
====================
3+
4+
The first FIDO operation is automatically accepted within two seconds
5+
after connecting Nitrokey Passkey. In this case touching the touch button
6+
is not required.
7+
8+
Multiple operations can be accepted by a single touch. For this, keep
9+
the touch button touched for up to 10 seconds.
10+
11+
+------------------+-----------------------------+
12+
| LED Color | Event |
13+
+==================+=============================+
14+
| White (blinking) | waiting for touch event |
15+
+------------------+-----------------------------+
16+
| Teal (constant) | processing |
17+
+------------------+-----------------------------+
18+
| Red (Constant) | Crash |
19+
+------------------+-----------------------------+
20+
21+
.. figure:: images/Passkey.webp
22+
:alt: img1
23+
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
Manage Your Nitrokey Passkey
2+
============================
3+
4+
Browser
5+
-------
6+
7+
.. note::
8+
9+
This works with all Chromium based web browsers and with all OSes.
10+
11+
In your Chromium based browser settings, go to "Privacy and security" → "Security" and "Manage security keys".
12+
13+
From this point you will have access to theses management options:
14+
15+
.. figure:: images/chromium_key_managment.png
16+
:alt: img1
17+
18+
.. note::
19+
20+
Some option may be shown but will not work with your Nitrokey eg. Fingerprints.
21+
22+
Windows
23+
-------
24+
25+
In order to manage your Nitrokey Passkey in Windows, go to "Settings" → "Accounts" → "Sign-in options" → "Security Key" and click "Manage".
26+
27+
.. figure:: images/w10_passkey_manage.png
28+
:alt: img2
29+
30+
After touching your Nitrokey you will have two management options:
31+
32+
.. figure:: images/manage_options_w10.PNG
33+
:alt: img3
34+
35+
nitropy
36+
-------
37+
38+
You can use the command line tool `nitropy <../../software/nitropy/index.html>`__ to manage the Nitrokey Passkey:
39+
40+
.. code-block:: bash
41+
42+
~ nitropy nkpk
43+
44+
Command line tool to interact with Nitrokey devices 0.7.4
45+
Usage: nitropy nkpk [OPTIONS] COMMAND [ARGS]...
46+
47+
Interact with Nitrokey Passkey devices, see subcommands.
48+
49+
Options:
50+
-p, --path TEXT The path of the Nitrokey 3 device
51+
-h, --help Show this message and exit.
52+
53+
Commands:
54+
fetch-update Fetches a firmware update and stores it at the given...
55+
list List all devices.
56+
reboot Reboot the key.
57+
rng Generate random data on the device.
58+
status Query the device status.
59+
test Run some tests on all connected devices.
60+
validate-update Validates the given firmware image and prints the...
61+
version Query the firmware version of the device.
62+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
2+
Troubleshooting
3+
===============
4+
5+
General
6+
-------
7+
8+
* On `WebAuthn.io`_ you can check various high-level functionalities, while `webautn.bin.coffee`_ provides good developer level details (technical) details.
9+
10+
* Check if the LED is working as `expected`_.
11+
12+
* You can test the Nitrokey Passkey using `nitropy`_ with ``nitropy nkpk test``.
13+
14+
Windows
15+
-------
16+
17+
To check whether the Nitrokey Passkey is correctly recognized, open the Device Manager and check for the Nitrokey Passkey appearing as a USB device.
18+
19+
macOS
20+
-----
21+
22+
To check whether the Nitrokey Passkey is correctly recognized, open the System Report and check for the Nitrokey Passkey appearing as a USB device.
23+
Otherwise you can use the commandline with the following command to check if your system recognizes the Nitrokey Passkey.
24+
25+
.. code-block:: bash
26+
27+
system_profiler SPUSBDataType | grep Nitrokey
28+
29+
Linux
30+
-----
31+
32+
To check whether the Nitrokey Passkey is correctly recognized, check if it is shown with `lsusb`.
33+
34+
If the Nitrokey is not detected, proceed the following:
35+
36+
1. Copy this file
37+
`41-nitrokey.rules <https://www.nitrokey.com/sites/default/files/41-nitrokey.rules>`__
38+
to ``/etc/udev/rules.d/``. In very rare cases, the system will need
39+
the `older
40+
version <https://raw.githubusercontent.com/Nitrokey/libnitrokey/master/data/41-nitrokey_old.rules>`__
41+
of this file.
42+
2. Restart udev via ``sudo service udev restart`` or ``udevadm control --reload-rules && udevadm trigger`` if you are using Fedora.
43+
44+
45+
.. include:: ../../shared-faqs/hyperlinks.rst.inc
46+
.. _nitropy: ../../software/nitropy/index.html
47+
.. _expected: ./led.html

0 commit comments

Comments
 (0)