search for: do_change_passphrase

Displaying 5 results from an estimated 5 matches for "do_change_passphrase".

2015 Feb 26
4
Call for testing: OpenSSH 6.8
On Thu, 26 Feb 2015, Damien Miller wrote: > > Yes I saw that later. > > > > The testsuite build fails on Solaris 2.6 thusly: > [...] > > regress/netcat.c:1037: error: 'struct msghdr' has no member named > > 'msg_control' > > ah, looks like we need to copy some bits from monitor_fdpass.c Perhaps like this: diff --git regress/netcat.c
2019 Aug 06
2
[PATCH v2] Remove sshkey_load_private()
...; - if ((r = sshkey_load_private(path, NULL, + if ((r = sshkey_load_private_type(KEY_UNSPEC, path, NULL, &public, &comment)) != 0) { debug("load private \"%s\": %s", path, ssh_err(r)); fatal("%s is not a key file.", path); @@ -1349,7 +1350,8 @@ do_change_passphrase(struct passwd *pw) if (stat(identity_file, &st) == -1) fatal("%s: %s", identity_file, strerror(errno)); /* Try to load the file with empty passphrase. */ - r = sshkey_load_private(identity_file, "", &private, &comment); + r = sshkey_load_private_type(KEY_UNSPE...
2015 Feb 25
2
Call for testing: OpenSSH 6.8
...9;. Program terminated with signal SIGSEGV, Segmentation fault. #0 0xfedb4b14 in strlen () from /usr/lib/libc.so.1 (gdb) bt #0 0xfedb4b14 in strlen () from /usr/lib/libc.so.1 #1 0xfee07a20 in _doprnt () from /usr/lib/libc.so.1 #2 0xfee095e0 in printf () from /usr/lib/libc.so.1 #3 0x000546b0 in do_change_passphrase (pw=pw at entry=0x92954) at ssh-keygen.c:1279 #4 0x00059420 in main (argc=0, argv=0xffbfe664) at ssh-keygen.c:2530 (gdb) fram 3 #3 0x000546b0 in do_change_passphrase (pw=pw at entry=0x92954) at ssh-keygen.c:1279 1279 printf("Key has comment '%s'\n", comment); (gdb)...
2015 Feb 24
4
Call for testing: OpenSSH 6.8
On Tue, 24 Feb 2015, Tom G. Christensen wrote: > I've switched to HEAD in the git repo and it now builds on Solaris > 2.6, 7, 8 and 9 but the testsuite still cannot be built due to the > missing <err.h>. > > I noticed one of the changes was about HOST_NAME_MAX but I don't > think that change addresses the real issue on at least these old > Solaris systems. It
2020 Apr 25
2
[PATCH 1/3] Add private key protection information extraction to ssh-keygen
...sshkey_load_private(path, NULL, -?? ??? ???? &privkey, &comment)) != 0) +?? ??? ???? &privkey, &comment, NULL)) != 0) ??? ??? ??? ?debug("load private \"%s\": %s", path, ssh_err(r)); ??? ?} ??? ?if (pubkey == NULL && privkey == NULL) @@ -1416,7 +1432,7 @@ do_change_passphrase(struct passwd *pw) ??? ?if (stat(identity_file, &st) == -1) ??? ??? ?fatal("%s: %s", identity_file, strerror(errno)); ??? ?/* Try to load the file with empty passphrase. */ -?? ?r = sshkey_load_private(identity_file, "", &private, &comment); +?? ?r = sshkey_load_priv...