Skip to content

Commit dcf31a7

Browse files
feat: Ajout initialisation code PIN (#21)
* feat: Ajout initialisation code PIN * fix: improve init PIN * chore: prettier
1 parent d841351 commit dcf31a7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Diff for: docs/go-further/setup-security-key.mdx

+23
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,29 @@ Si vous avez une Yubikey vous pouvez installer le Yubikey-manager : la documenta
1818

1919
Il existe aussi fido-manager.
2020

21+
### Initialiser le code pin
22+
23+
La première chose à faire, quand vous avez une nouvelle clé, est definir à code PIN.
24+
Voici comment faire avec la libfido2 :
25+
26+
```
27+
# fido2-token -L
28+
DevSrvsID:876876876: vendor=0x1050, product=0x0407 (Yubico YubiKey OTP+FIDO+CCID)
29+
# fido2-token -S DevSrvsID:876876876
30+
Enter new PIN for DevSrvsID:876876876:
31+
Enter same PIN again:
32+
```
33+
34+
Suivant votre système, le nommage de la clé peut varier
35+
36+
```
37+
# fido2-token -L
38+
/dev/hidraw2: vendor=0x1050, product=0x0407 (Yubico YubiKey OTP+FIDO+CCID)
39+
# fido2-token -S /dev/hidraw2
40+
Enter new PIN for /dev/hidraw2:
41+
Enter same PIN again:
42+
```
43+
2144
## **Authentification par passkeys**
2245

2346
## **Gestion des clefs SSH**

0 commit comments

Comments
 (0)