]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/verifier.texi
[DOC] Create glossary in user manual and move pages to it
[govpn.git] / doc / verifier.texi
index 6e97b7e6f02f8363c939a0c23ca94aa921d02574..bb364d747f6568f5b52e24fe3321571e82c08043 100644 (file)
@@ -1,5 +1,5 @@
 @node Verifier
-@section Verifier
+@subsection Verifier
 
 Verifier is created using @code{govpn-verifier} utility. But currently
 Go does not provide native instruments to read passwords without echoing
@@ -9,18 +9,20 @@ silently.
 @example
 % utils/storekey.sh mypass.txt
 Enter passphrase:[hello world]
-% govpn-verifier -id 9da9bf91112d0e4483c135b12d5b48de -key mypass.txt
-210e3878542828901a3af9b4aa00b004de530410eef5c1ba2ffb6d04504371b2
+% govpn-verifier -key mypass.txt
+$argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10
+$argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg
 @end example
 
-Store "210...1b2" string on the server's side in corresponding
-@code{verifier} file.
+First line is the verifier for the server side. Second line is for the
+client -- it lacks generated public key. However you can use server's
+one on the client side too.
 
 You can check passphrase against verifier by specifying @code{-verifier}
 option with the path to verifier file:
 
 @example
-% govpn-verifier -id 9da9bf91112d0e4483c135b12d5b48de -key mypass.txt -verifier verifier
+% govpn-verifier -key mypass.txt -verifier '$argon2d...'
 true
 @end example