-
Notifications
You must be signed in to change notification settings - Fork 52
nk3 faq passkey update #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
4f6c29c
nk3 faq passkey update
alexgithublab e01449c
synthax fix
alexgithublab 9624d51
syntax fix
alexgithublab 2d41921
syntax fix
alexgithublab 40f2af6
rst check
alexgithublab 6ac06a0
rst check fix
alexgithublab e21e8d0
code block fix
alexgithublab 0a169cc
nkapp pswd nb changed
alexgithublab 624c4be
code block fix
alexgithublab f8eec41
ident fix
alexgithublab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,46 +25,46 @@ It is easier to use ``nitropy nk3 piv`` commands when PIN, PUK and management ke | |
|
|
||
| .. code-block:: bash | ||
|
|
||
| nitropy nk3 piv --experimental generate-key --key 9a --algo nistp256 --subject-name "CN=Foo Bar" --subject-alt-name-upn "[email protected]" | ||
| nitropy nk3 piv --experimental generate-key --key 9a --algo nistp256 --subject-name "CN=Foo Bar" --subject-alt-name-upn "[email protected]" | ||
|
|
||
| 2. Generate a key and a certificate in PIV slot 9d: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| nitropy nk3 piv --experimental generate-key --key 9d --algo nistp256 --subject-name "CN=Foo Bar" --subject-alt-name-upn "[email protected]" | ||
| nitropy nk3 piv --experimental generate-key --key 9d --algo nistp256 --subject-name "CN=Foo Bar" --subject-alt-name-upn "[email protected]" | ||
|
|
||
| 3. Verify that the Nitrokey now has certificates in slots 9a and 9d: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| nitropy nk3 piv --experimental list-certificates | ||
| nitropy nk3 piv --experimental list-certificates | ||
|
|
||
| 4. Verify that the Nitrokey is recognized by the system and that identities are found: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| sc_auth identities | ||
| sc_auth identities | ||
|
|
||
| This should print something like this: | ||
| This should print something like this: | ||
|
|
||
| :: | ||
| :: | ||
|
|
||
| SmartCard: com.apple.pivtoken:<nitrokey serial number> | ||
| Unpaired identities: | ||
| someId <username> - Zertifikat zur PIV-Authentifizierung (<CN>) | ||
| SmartCard: com.apple.pivtoken:<nitrokey serial number> | ||
| Unpaired identities: | ||
| someId <username> - Zertifikat zur PIV-Authentifizierung (<CN>) | ||
|
|
||
| 5. Now unplug the Nitrokey and plug it in again. The operating system should recognize the Nitrokey as a PIV smartcard and suggest to pair with the user that is currently logged in. | ||
| 6. Confirm, you may need to enter the PIV PIN for some initial signing and you may also need to enter you password to allow the PIV certificate to be imported into MacOS keychain. | ||
| 7. Verify that the PIV identity is successfully paired with the local MacOS user: | ||
|
|
||
| .. code-block:: bash | ||
|
|
||
| sc_auth list | ||
| sc_auth list | ||
|
|
||
| This should print something like this: | ||
| This should print something like this: | ||
|
|
||
| :: | ||
| :: | ||
|
|
||
| Hash: someId | ||
| Hash: someId | ||
|
|
||
| 8. Done. You should now be able to log into your Mac with your Nitrokey by using the PIV PIN. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.