public inbox for govpn-devel@lists.cypherpunks.ru
Atom feed
From: stargrave@stargrave•org
To: Alan Holt <berber.it@gmail•com>
Cc: govpn-devel@lists.cypherpunks.ru
Subject: Re: [Govpn-devel] build from last tarball
Date: Wed, 13 May 2015 17:06:35 +0300 [thread overview]
Message-ID: <20150513140635.GA17870@stargrave.org> (raw)
In-Reply-To: <CAKw30noZrk1xdqYLdnEw7zDmhBhWbW5Q0-ywiP-AtqFzLmj_zA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]
Greetings,
As I can see: you did everything right.
*** Alan Holt [2015-05-13 16:42]:
>root@farengeit:~/govpn# ./govpn-verifier -id *2e6cc6e97d496b29d0271f55 *-key
>/tmp/passphrase
>panic: ID is not specified
Well, at first I am going to replace that panics with short human
readable messages.
>*So because of this error, I can't continue with configuration from here.
>What I do wrong? *
The problem lies in the fact that /dev/random on FreeBSD and GNU/Linux
has different behaviour: In FreeBSD if you ask to give N bytes, then it
will give you that N bytes, but in Linux you can get less bytes if
kernel does not have enough entropy. "2e6cc6e97d496b29d0271f55" is 24
chars long, 96 bits, not 128. That is why govpn-verifier fails.
It is my mistake to assume that /dev/random under Linux works as in
FreeBSD. I made a commit in develop-branch. Please, remove you
2e6cc6e97d496b29d0271f55 peer and run newclient.sh again. Now it should
work as expected.
root@farengeit:~/govpn# rm -fr peers/2e6cc6e97d496b29d0271f55
root@farengeit:~/govpn# git pull
root@farengeit:~/govpn# ./utils/newclient.sh Alice
--
Happy hacking, Sergey Matveev
[-- Attachment #2: Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2015-05-13 14:09 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-13 7:59 [Govpn-devel] build from last tarball Alan Holt
2015-05-13 8:47 ` stargrave
2015-05-13 9:00 ` Alan Holt
2015-05-13 9:36 ` stargrave
2015-05-13 10:01 ` Alan Holt
2015-05-13 10:14 ` stargrave
2015-05-13 10:52 ` Alan Holt
2015-05-13 11:41 ` stargrave
2015-05-13 13:31 ` Alan Holt
2015-05-13 13:47 ` Alan Holt
2015-05-13 14:09 ` stargrave
2015-05-13 14:55 ` Alan Holt
2015-05-13 16:52 ` stargrave
2015-05-14 8:30 ` Alan Holt
2015-05-14 9:22 ` Alan Holt
2015-05-14 12:34 ` stargrave
2015-05-14 13:25 ` stargrave
2015-05-14 13:32 ` Alan Holt
2015-05-14 14:11 ` stargrave
2016-01-19 19:04 ` Alan Holt
2016-01-19 22:08 ` stargrave
2016-01-19 22:58 ` Alan Holt
2016-01-20 7:53 ` stargrave
2016-01-21 9:43 ` stargrave
2016-01-28 10:26 ` Alan Holt
2016-01-28 10:46 ` stargrave
2016-01-28 13:39 ` Alan Holt
2016-01-28 14:20 ` stargrave
2015-05-13 14:06 ` stargrave [this message]