]> Cypherpunks.ru repositories - govpn.git/blob - doc/verifier.texi
7efdf07c1e74dfa7d1782308a556d049feec3e82
[govpn.git] / doc / verifier.texi
1 @node Verifier
2 @subsection Verifier
3
4 Verifier is created using @command{govpn-verifier} utility.
5
6 @verbatim
7 % govpn-verifier
8 Passphrase:[hello world]
9 $argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10
10 $argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg
11 @end verbatim
12
13 First line is the verifier for the server side. Second line is for the
14 client -- it lacks generated public key. However you can use server's
15 one on the client side too.
16
17 You can check passphrase against verifier by specifying @option{-verifier}
18 option with the path to verifier file:
19
20 @verbatim
21 % govpn-verifier -verifier '$argon2d...'
22 Passphrase:[hello world]
23 true
24 @end verbatim
25
26 Optionally you can store plaintext passphrases on volatile memory
27 (memory disk, encrypted filesystem with restrictive permissions to the
28 file) and provide @option{-key} option.