ssh-keygen -t dsa Generating public/private dsa key pair. 9304 segmentation fault ssh-keygen -t dsa
(gdb) set args -t dsa (gdb) run Starting program: /usr/bin/ssh-keygen -t dsa Generating public/private dsa key pair. Program received signal SIGSEGV, Segmentation fault. BN_GENCB_call (cb=0x4, a=0, b=0) at bn_prime.c:141 141 switch(cb->ver) (gdb) bt #0 BN_GENCB_call (cb=0x4, a=0, b=0) at bn_prime.c:141 #1 0x00007ffff7ace534 in dsa_builtin_paramgen (ret=ret@entry=0x636d20, bits=<optimized out>, bits@entry=1024, qbits=20, qbits@entry=160, evpmd=0x7ffff7dc4380 <sha1_md>, seed_in=<optimized out>, seed_in@entry=0x0, seed_len=seed_len@entry=0, seed_out=seed_out@entry=0x0, counter_ret=counter_ret@entry=0x0, h_ret=h_ret@entry=0x0, cb=0x4) at dsa_gen.c:201 #2 0x0000000000415cb9 in dsa_generate_private_key (bits=1024) at key.c:1042 #3 key_generate (type=type@entry=2, bits=1024) at key.c:1141 #4 0x0000000000407a9d in main (argc=<optimized out>, argv=<optimized out>) at ssh-keygen.c:2248
Это следствие моего фикса баги #24682.
openssh-5.9p1-alt6 -> sisyphus: * Mon Apr 15 2013 Dmitry V. Levin <ldv@altlinux> 5.9p1-alt6 - ssh-keygen: updated fix for #24682 to libcrypto >= 1.0.1 (closes: #28850).