[ntp:questions] ntp-keygen fails to generate MV parameters

r lumpkin temp4now0 at gmail.com
Wed Jan 25 22:52:37 UTC 2012


On Jan 25, 5:43 pm, r lumpkin <temp4n... at gmail.com> wrote:
> On Dec 15 2011, 10:48 am, Joe Smithian <joe.smith... at gmail.com> wrote:
>
>
>
>
>
>
>
>
>
> > I tried to generate autokey with -V 1 option for MV identity scheme but it
> > failed as you can see below.
>
> > I tried on two machines, both failed
>
> > ntp-4.2.6p2- on Linux Fedora core 6, kernel 2.6.18-1.2798.fc6 and  CentOs
> > 5.4 with kernel 2.6.18-164.el5
>
> > *[root at myserver ntp]#  ntp-keygen -T -V 1 -p serverpwd*
> > Using OpenSSL version 90802f
> > Using host myserver  group myserver
> > Generating RSA keys (512 bits)...
> > RSA 0 1 253     1 11 24                         3 1 2
> > Generating new host file and link
> > ntpkey_host_myserver->ntpkey_RSAhost_myserver.3532952176
> > Using host key as sign key
> > Generating MV parameters for 1 keys (256 bits)...
> > Birthday keys regenerated 0
> > Defective keys regenerated 163
> > Generating polynomial coefficients for 1 roots (256 bits)
> > Confirm prod(g[i]^(x[j]^i)) = 1 for all i, j: yes
> > *Segmentation fault*
>
> > *[root at myserver ntp]#  ntp-keygen -T -V 1 -p serverpwd -c RSA-SHA1 -S RSA
> > -m 2048*
> > Using OpenSSL version 90802f
> > Using host myserver group myserver
> > Using host key ntpkey_RSAhost_myserver.3532952176
> > Generating RSA keys (2048 bits)...
> > RSA 0 53 2617   1 2 6                           3 1 2
> > Generating new sign file and link
> > ntpkey_sign_myserver->ntpkey_RSAsign_myserver.3532952192
> > Generating MV parameters for 1 keys (256 bits)...
> > Birthday keys regenerated 0
> > Defective keys regenerated 14
> > Generating polynomial coefficients for 1 roots (256 bits)
> > Confirm prod(g[i]^(x[j]^i)) = 1 for all i, j: yes
> > *Segmentation fault*
>
> > When I tried *"-V 2"* it hanged!
>
> > Any comment?
>
> > Thanks
>
> > Joe
>
> Try      11
> same problem, after trying different numbers and getting different
> results, it finished the run with 11 , however it isnt producing the correct files..

only producing:

          ntpkey_mvta

> ntp-keygen -V 11 -p PASSWORD
>

i will keep working on this, need this working.
> BTW
> im using ntp-keygen Ver. 4.2.6p1

well



More information about the questions mailing list