Re: How to use publickey from x509 certificate?
From: Tanja Wittke (tawi_at_gruft.de)
Date: 07/09/04
- Previous message: David Roman Esteban: "Re: 64_bit SSH"
- In reply to: Damien Miller: "Re: How to use publickey from x509 certificate?"
- Next in thread: Damien Miller: "Re: How to use publickey from x509 certificate?"
- Reply: Damien Miller: "Re: How to use publickey from x509 certificate?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 9 Jul 2004 02:14:27 +0200 To: Damien Miller <djm@mindrot.org>
Hello,
On Thu, Jul 08, 2004 at 10:19:42PM +1000, Damien Miller wrote:
> The public key is easy to extract:
>
> $ openssl x509 -pubkey -noout -in newcert.pem
> -----BEGIN PUBLIC KEY-----
> MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCiax2Tn3aXOVOqSw5EP+Hc+Euy
> hyfm5XxYFFhCI8KOw9UcUZ5uaZ4u+hca8DlM6vrP4GnU1f8RQK77D/uLRrwGb+5k
> X0In4/sbSipOG3mxnPN9LC5gS06t1JSbOwhWbGECtWwbYCz0XF/HsFf5gP06Sexa
> aYMN/isaJQjBSXBECQIDAQAB
> -----END PUBLIC KEY-----
Yes, but that's not what I meant. A ssh RSA public key looks like
ssh-rsa <key blob> optional comment
But I think this key blob isn't the complete key (modulus,exponent)
extracted from the certificate. Maybe just the modulus? Or is there
something else I don't see about the ssh RSA public key structure?
Thank you,
tawi
- Previous message: David Roman Esteban: "Re: 64_bit SSH"
- In reply to: Damien Miller: "Re: How to use publickey from x509 certificate?"
- Next in thread: Damien Miller: "Re: How to use publickey from x509 certificate?"
- Reply: Damien Miller: "Re: How to use publickey from x509 certificate?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|