Displaying 8 results from an estimated 8 matches for "key_load_private_pem".
2001 May 25
1
ssh-keygen segfault (2.9p1)
...e/markus/cvs/ssh/authfile.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- authfile.c 2001/04/18 23:44:51 1.32
+++ authfile.c 2001/05/16 20:51:57 1.33
@@ -555,7 +555,8 @@
lseek(fd, (off_t) 0, SEEK_SET); /* rewind */
if (pub == NULL) {
/* closes fd */
- return key_load_private_pem(fd, KEY_UNSPEC, passphrase, NULL);
+ return key_load_private_pem(fd, KEY_UNSPEC, passphrase,
+ commentp);
} else {
/* it's a SSH v1 key if the public key part is readable */
key_free(pub);
2008 Sep 15
0
No subject
...penSSH_3.7.1p2
before lodaing private keys
?after lodaing private keys
?after lodaing private keys
options.host_key_files[i]=/etc/ssh/ssh_host_rsa_key
?in key_load_private
?before key_load_public_rsa1
in buffer_init
in buffer_append_space
in buffer_get
leaving from buffer_get
in buffer_free
?before key_load_private_pem
?returning from key_load_private
?after key_load_private
private host key: #0 type 1 RSA
options.host_key_files[i]=/etc/ssh/ssh_host_dsa_key
?in key_load_private
?before key_load_public_rsa1
in buffer_init
in buffer_append_space
in buffer_get
leaving from buffer_get
in buffer_free
?before key_load_...
2008 Sep 18
2
SSHD_PROBLEM
...penSSH_3.7.1p2
before lodaing private keys
after lodaing private keys
after lodaing private keys
options.host_key_files[i]=/etc/ssh/ssh_host_rsa_key
in key_load_private
before key_load_public_rsa1
in buffer_init
in buffer_append_space
in buffer_get
leaving from buffer_get
in buffer_free
before key_load_private_pem
returning from key_load_private
after key_load_private
private host key: #0 type 1 RSA
options.host_key_files[i]=/etc/ssh/ssh_host_dsa_key
in key_load_private
before key_load_public_rsa1
in buffer_init
in buffer_append_space
in buffer_get
leaving from buffer_get
in buffer_free
before key_load_...
2005 Mar 29
0
Loading keys in SSH2
...rsa_key.pub'
respectively.
Now I am tracing through the sshd.c file and I am interested about how
the SSH2 protocol loads the host keys. Below I drew a rough call graph
as [fileName]functionName
[sshd.c]main()
|
\/
[authfile.c]key_load_private()
|
\/
[authfile.c]key_load_private_pem()
|
\/
[in openssl library]PEM_read_PrivateKey()
I am a bit confused about the call to the function PEM_read_PrivateKey()
Below is the call to PEM_read_PrivateKey() on line 463 of authfile.c
=========================================================
pk = PEM_read_PrivateKey(fp, NULL,...
2014 Nov 05
4
[Bug 2306] New: ssh-add 6.7 inserts RSA keys into the ssh-agent as "rsa w/o comment" instead of filenames
https://bugzilla.mindrot.org/show_bug.cgi?id=2306
Bug ID: 2306
Summary: ssh-add 6.7 inserts RSA keys into the ssh-agent as
"rsa w/o comment" instead of filenames
Product: Portable OpenSSH
Version: 6.7p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
2005 May 19
1
ssh-keygen private keys export - new feature
...Key *key_load_public(const char *, char **);
Key *key_load_public_type(int, const char *, char **);
+int key_try_load_public(Key *, const char *, char **);
Key *key_load_private(const char *, const char *, char **);
Key *key_load_private_type(int, const char *, const char *, char **);
Key *key_load_private_pem(int, int, const char *, char **);
--- ssh-keygen.c.orig 2005-03-02 02:33:04.000000000 +0100
+++ ssh-keygen.c 2005-05-19 22:20:02.000000000 +0200
@@ -24,6 +24,7 @@
#include "uuencode.h"
#include "buffer.h"
#include "bufaux.h"
+#include "getput.h"
#incl...
2001 Sep 27
4
ssh2 key passphrase problems in 2.9.9 on Linux
I've just compiled and installed openssh-2.9.9p2 (compiled against
openssl-0.9.6b using gcc-3.0.0) on a Slackware 7-based Linux machine
(kernel 2.4.6ac2). The previously installed version was 2.9p2, compiled
against openssl-0.9.6a, also with gcc-3.0.0, but with a different build of
gcc-3.0.0.
Everything seems to work fine except for one problem: passphrase matching
for ssh2 keys
2003 Nov 27
2
Question about adding another parameter for OpenSSH
...t char *, char **);
-Key *key_load_private(const char *, const char *, char **);
-Key *key_load_private_type(int, const char *, const char *, char **);
+Key *key_load_private(const char *, const char *, char **, int);
+Key *key_load_private_type(int, const char *, const char *, char **, int);
Key *key_load_private_pem(int, int, const char *, char **);
#endif
--- readconf.c.orig Thu Nov 27 18:04:27 2003
+++ readconf.c Thu Nov 27 18:06:49 2003
@@ -105,7 +105,7 @@
oClearAllForwardings, oNoHostAuthenticationForLocalhost,
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,
oAddressFamily, oGs...