Displaying 12 results from an estimated 12 matches for "key_try_load_public".
2002 Nov 19
0
[Bug 439] New: key_try_load_public() always sets pathname as the keyfile's comment
http://bugzilla.mindrot.org/show_bug.cgi?id=439
Summary: key_try_load_public() always sets pathname as the
keyfile's comment
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P2
Component: Miscellaneous...
2010 Nov 24
0
[Bug 439] key_try_load_public() always sets pathname as the keyfile's comment
https://bugzilla.mindrot.org/show_bug.cgi?id=439
--- Comment #6 from Damien Miller <djm at mindrot.org> 2010-11-24 11:34:54 EST ---
Created attachment 1964
--> https://bugzilla.mindrot.org/attachment.cgi?id=1964
/home/djm/ssh-authfile-preserve-comments.diff
Revised diff
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail
2011 May 23
0
[Bug 439] key_try_load_public() always sets pathname as the keyfile's comment
https://bugzilla.mindrot.org/show_bug.cgi?id=439
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Blocks| |1845
Status|NEW
2011 Sep 06
0
[Bug 439] key_try_load_public() always sets pathname as the keyfile's comment
https://bugzilla.mindrot.org/show_bug.cgi?id=439
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #8 from Damien Miller <djm at mindrot.org> 2011-09-06 15:33:13 EST ---
close resolved bugs
2002 Nov 19
0
[Bug 439] key_try_load_public() always sets pathname as the keyfile's comment
http://bugzilla.mindrot.org/show_bug.cgi?id=439
------- Additional Comments From binder at arago.de 2002-11-20 00:37 -------
Created an attachment (id=178)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=178&action=view)
Proposed patch
This patch returns the keyfile's comment if there is one, the keyfile's path
otherwise.
------- You are receiving this mail because:
2003 May 14
4
[Bug 439] key_try_load_public() always sets pathname as the keyfile's comment
http://bugzilla.mindrot.org/show_bug.cgi?id=439
------- Additional Comments From djm at mindrot.org 2003-05-14 22:35 -------
This won't work through protocol 2 agent connections IIRC
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2004 Jun 23
8
[Bug 884] DSA keys (id_dsa.pub) with 8192 bits or more aren't correctly recognized
http://bugzilla.mindrot.org/show_bug.cgi?id=884
dmr at gmx.it changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|DSA keys (id_dsa.pub) with |DSA keys (id_dsa.pub) with
|8192 bytes or more aren't |8192 bits or more aren't
|correctly
2005 May 19
1
ssh-keygen private keys export - new feature
...encrypted
private key file in IETF SECSH format.
I suggest you incorporate this patch into both the OpenBSD and portable
OpenSSH.
--- authfile.c.orig 2004-12-11 03:39:50.000000000 +0100
+++ authfile.c 2005-05-19 22:16:51.000000000 +0200
@@ -598,7 +598,7 @@
return prv;
}
-static int
+int
key_try_load_public(Key *k, const char *filename, char **commentp)
{
FILE *f;
--- authfile.h.orig 2002-06-06 21:57:34.000000000 +0200
+++ authfile.h 2005-05-19 23:03:35.000000000 +0200
@@ -18,6 +18,7 @@
int key_save_private(Key *, const char *, const char *, const char *);
Key *key_load_public(const char *,...
2004 Jun 23
1
[Bug 884] DSA keys (id_dsa.pub) with 8192 bytes or more aren't correctly recognized
...SavC0QZ/rAt2/QtZys8MfDybVRAETfmEcdEY6A2yTk6KlF2wggAySPH7pY6LF2qugrjkVLj/0/cRYv9jCfEzjd8qS3As71U1bO39EtIM/niHS7blF0CN5XsA9x04ZUiW+0y0MUfGYf2CqVLU0fxNR5/wFw8hMDKQvw2J8vhbClq3Last
login: Wed Jun 23 18:26:04 2004 from nicetas.disi.unige.it
root:bin:0:~#
This seems had to the line buffer size found in key_try_load_public() of
authfile.c that is fixed to 4096 bytes.
Please found here below a patch of mine that _should_ help to solve the problem,
enlarging - on fly - the buffer size.
Regards,
Alessandro
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the ass...
2003 May 14
2
[Bug 566] ssh-keygen -l does not print key comment for rsa/dsa keys
...: P2
Component: ssh-keygen
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: binder at arago.de
ssh-keygen's option -l prints the key's comment for rsa1 keys, but
only the filename for rsa/dsa keys. I'll attach a patch that fixes
this, but as it modifies key_try_load_public() in authfile.c, it
might have impact on other functionality. So far, I haven't
noticed any problem with the patch, but I may have missed
something.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2013 Sep 05
1
Using multiple certificates for a given private key
...milarly
for ~/.ssh/id_ecdsa.pub, and placing the A and B certificates at
~/.ssh/id_ecdsaA-cert.pub and ~/.ssh/id_ecdsaB-cert.pub respectively,
thereby creating two copies of the key, each with its own certificate?
Looking at the source code, it looks as though not: key_load_cert
(authfile.c) calls key_try_load_public (authfile.c), which parses
${keyfile}-cert.pub until a key is found, loads it, and returns, thus
ignoring any subsequent certificates in the file. The cert filename is
also hardcoded to be ${keyfile}-cert.pub in key_load_cert.
Best wishes,
Ryan
--
|_)|_/ Ryan Kavanagh | Debian Developer
| \| \...
2006 Apr 21
4
Solaris 8 x86 rsa pubkey auth problem
Hello,
I got some weird problem with public key authentication using rsa key pair.
Let me first of all explain my setup.
1) I got two Solaris 8 x86 boxes
uname -a
SunOS 5.8 Generic_117351-24 i86pc i386 i86pc
<kdc: 192.168.10.11> <---> <module: 192.168.10.10>
2) They're running absolutely identical openssh installations
I'm using pkgsrc, so I've builded all