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