Bug 2297

Summary: EDD25519 Signature verification failed on Solaris
Product: Portable OpenSSH Reporter: Yann Rouillard <yann>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: major CC: djm
Priority: P5    
Version: 6.7p1   
Hardware: amd64   
OS: Solaris   
Attachments:
Description Flags
ssh client log
none
Log sshd daemon
none
ssh_proxy configuration
none
sshd_proxy configuration
none
known_host file
none
authorized_keys file
none
edd25519 private key
none
edd25519 public key none

Description Yann Rouillard 2014-10-18 23:11:59 AEDT
Hi,

On Solaris 10, the keytype.sh test constantly fails for the edd25519-512 key type: 

run test keytype.sh ...
[...]
userkey ed25519-512, hostkey ed25519-512:
real        0.0
user        0.0
sys         0.0
ssh userkey ed25519-512, hostkey ed25519-512 failed
userkey ed25519-512, hostkey ed25519-512:
real        0.0
user        0.0
sys         0.0
ssh userkey ed25519-512, hostkey ed25519-512 failed
userkey ed25519-512, hostkey ed25519-512:
real        0.0
user        0.0
sys         0.0
ssh userkey ed25519-512, hostkey ed25519-512 failed
[...]
failed login with different key types

The relevant debug.log shows that it seems to fail at open time:

debug1: Host 'localhost-with-alias' is known and matches the ED25519 host key.
debug1: Found key in /home/yann/opencsw/openssh/trunk/work/solaris10-i386/build-isa-pentium_pro/openssh-6.7p1/regress/known_hosts:1
debug2: ssh_ed25519_verify: crypto_sign_ed25519_open failed: -1
debug1: ssh_ed25519_verify: signature incorrect
key_verify failed for server_host_key


I will attach all the relevant files.

Yann
Comment 1 Yann Rouillard 2014-10-18 23:39:24 AEDT
Created attachment 2488 [details]
ssh client log
Comment 2 Yann Rouillard 2014-10-18 23:42:54 AEDT
Created attachment 2489 [details]
Log sshd daemon
Comment 3 Yann Rouillard 2014-10-18 23:43:24 AEDT
Created attachment 2490 [details]
ssh_proxy configuration
Comment 4 Yann Rouillard 2014-10-18 23:43:48 AEDT
Created attachment 2491 [details]
sshd_proxy configuration
Comment 5 Yann Rouillard 2014-10-18 23:44:14 AEDT
Created attachment 2492 [details]
known_host file
Comment 6 Yann Rouillard 2014-10-18 23:45:38 AEDT
Created attachment 2493 [details]
authorized_keys file
Comment 7 Yann Rouillard 2014-10-18 23:46:10 AEDT
Created attachment 2494 [details]
edd25519 private key
Comment 8 Yann Rouillard 2014-10-18 23:46:32 AEDT
Created attachment 2495 [details]
edd25519 public key
Comment 9 Damien Miller 2020-01-26 00:02:58 AEDT
We have Solaris 11 (Openindiana) in our regular testing farm and it does not show this failure. Please reopen if you're still having trouble with this.
Comment 10 Damien Miller 2021-04-23 15:03:54 AEST
closing resolved bugs as of 8.6p1 release