Re: [openssl-users] EDDSA key format

2018-08-13 Thread Matt Caswell
On 10/08/18 23:43, Felipe Gasper wrote: > Hi all, > > Do EDDSA keys serialize to any format other than SPKI (public) and > PKCS8 (private)? > > I ask because RSA and ECC both have “native” formats as well as SPKI > and PKCS8. > > Thanks! > No, there are no "native" format

[openssl-users] EDDSA key format

2018-08-10 Thread Felipe Gasper
Hi all, Do EDDSA keys serialize to any format other than SPKI (public) and PKCS8 (private)? I ask because RSA and ECC both have “native” formats as well as SPKI and PKCS8. Thanks! -FG -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listin

Re: [openssl-users] Old "RSA_NET" key format

2015-07-10 Thread Michael Wojcik
> From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf > Of Salz, Rich > Sent: Thursday, July 09, 2015 15:29 > To: openssl-users@openssl.org > Subject: Re: [openssl-users] Old "RSA_NET" key format > > > Because both methods confirm y

Re: [openssl-users] Old "RSA_NET" key format

2015-07-09 Thread Salz, Rich
> Because both methods confirm your prior decisions, you therefore conclude > that you were always right in the first place. Provably wrong. I wanted to get rid of Netware support as the first example that comes to mind. As the second, I want to move all uses of RC4 and MD5 to LOW strength ci

Re: [openssl-users] Old "RSA_NET" key format

2015-07-09 Thread Jakob Bohm
On 09/07/2015 23:09, Salz, Rich wrote: OpenSSL is a critical part of security in too many places for us to take on any unnecessary technical debt. This is a somewhat empty argument as long as no one bothers to properly determine if a piece of code is a debt or an asset. I claim that we are b

Re: [openssl-users] Old "RSA_NET" key format

2015-07-09 Thread Salz, Rich
>> OpenSSL is a critical part of security in too many places for us to take on >> any unnecessary technical debt. >>This is a somewhat empty argument as long as no one bothers to properly >>determine if a piece of code is a debt or an asset. I claim that we are being careful and doing the prop

Re: [openssl-users] Old "RSA_NET" key format

2015-07-09 Thread Jakob Bohm
On 09/07/2015 21:52, Karl Vogel wrote: On 08/07/2015 20:23, Salz, Rich wrote: > 1. Is there any good reason to remove this code? R> Yes. If it's not tested, reviewed, or in general use, then it's R> more likely to be harmful (source of bugs) than useful. On Wed, 08 Jul 2015 20:47:43 +0200

Re: [openssl-users] Old "RSA_NET" key format

2015-07-09 Thread Karl Vogel
>> On 08/07/2015 20:23, Salz, Rich wrote: > 1. Is there any good reason to remove this code? R> Yes. If it's not tested, reviewed, or in general use, then it's R> more likely to be harmful (source of bugs) than useful. >> On Wed, 08 Jul 2015 20:47:43 +0200, Jakob Bohm replied: J> That's an ov

Re: [openssl-users] Old "RSA_NET" key format

2015-07-08 Thread Salz, Rich
> That's an overly general criteria, and may be the source of your mysterious > marauding of the APIs. Well there was no intent to be mysterious although I like the alliteration. We did mention it in the roadmap (https://openssl.org/about/roadmap.html) . Things are evaluated on a case-by-case

Re: [openssl-users] Old "RSA_NET" key format

2015-07-08 Thread Jakob Bohm
so needed this kind of cleanup, while the original eay DES API is only invokable from code that knows about it, and would thus not need to be removed for lack of use/testing. 2. Is this the OpenSSL name for the private key format used by older Microsoft Authenticate tools (and thus sometim

Re: [openssl-users] Old "RSA_NET" key format

2015-07-08 Thread Dr. Stephen Henson
On Wed, Jul 08, 2015, Jakob Bohm wrote: > > 2. Is this the OpenSSL name for the private key format > used by older Microsoft Authenticate tools (and thus > sometimes converted to/from PKCS#12 when switching > tool chains)? > AFAIK they only use "PVK" for

Re: [openssl-users] Old "RSA_NET" key format

2015-07-08 Thread Salz, Rich
> 1. Is there any good reason to remove this code? Yes. If it's not tested, reviewed, or in general use, then it's more likely to be harmful (source of bugs) than useful. > 2. Is this the OpenSSL name for the private key format >used by older Microsoft Authentic

Re: [openssl-users] Old "RSA_NET" key format

2015-07-08 Thread Jakob Bohm
. If this would cause a problem for you, please respond soon. 1. Is there any good reason to remove this code? 2. Is this the OpenSSL name for the private key format used by older Microsoft Authenticate tools (and thus sometimes converted to/from PKCS#12 when switching tool chains)? 3. Is

[openssl-users] Old "RSA_NET" key format

2015-07-02 Thread Salz, Rich
We are thinking about removing the old "RSA_NET" format for private keys. This is used by very old Netscape and IIS. This would remove the d2i/i2d RSA_NET API's, and the "nss" format flag from the openssl program. It would not remove the SPKI stuff. If this would cause a problem for you, please

Re: Private Key Format Different in FIPS Mode

2013-06-12 Thread Anamitra Dutta Majumdar (anmajumd)
Also I found that this works fine with openssl 1.0.1 Where keys are generated in FIPS mode with the following line. Can someone let me know why this change in behavior between 0.9.8l and 1.0.1? -BEGIN DSA PRIVATE KEY- Thanks, Anamitra On 6/12/13 12:01 PM, "Anamitra Dutta Majumdar (anma

Private Key Format Different in FIPS Mode

2013-06-12 Thread Anamitra Dutta Majumdar (anmajumd)
We are using OpenSSL version 0.9.8l And what we find is that the DSA private key formats are different in FIPS and non-FIPS mode In FIPS mode it starts with -BEGIN PRIVATE KEY- Whereas in non-FIPS mode it starts with -BEGIN DSA PRIVATE KEY- I understand that this is expected s

Re: RSA Private Key Format Different in FIPS Mode

2011-02-28 Thread Dr. Stephen Henson
On Mon, Feb 28, 2011, Yolanda Liu (liuyu) wrote: > Hi, > > > > I manually ran "openssl genrsa -out key.rsa 2048" in FIPS on and off > mode, the generated private keys are in different format. > > > > In FIPS off mode: > > -BEGIN RSA PRIVATE KEY- > > MIIEpAIBAAKCAQEAwhVeHVTVFcr

RSA Private Key Format Different in FIPS Mode

2011-02-28 Thread Yolanda Liu (liuyu)
Hi, I manually ran "openssl genrsa -out key.rsa 2048" in FIPS on and off mode, the generated private keys are in different format. In FIPS off mode: -BEGIN RSA PRIVATE KEY- MIIEpAIBAAKCAQEAwhVeHVTVFcrWJn6d8WJWgQ49lETK7a7rPS8nCxgOHJWmT3bV in FIPS on mode, the rsa key is in the

RE: rsa key format

2010-09-23 Thread Dave Thompson
ert works fine. > Note: I have used below command to extract public key > in default PEM format. But the vendor requires the key format > to be one which is compatible with Java. > openssl rsa -in priv_key.txt -out pub_key.txt -pubout Java, specifically the de

rsa key format

2010-09-23 Thread Panikulam Vivek
format that is compatible with Java sites? Note: I have used below command to extract public key in default PEM format. But the vendor requires the key format to be one which is compatible with Java. openssl rsa -in priv_key.txt -out pub_key.txt -pubout Regards Vivek Panikulam

Re: Unusual RSA Private Key Format? (JSAFE)

2007-10-12 Thread Julius Davies
Hi, Have you seen this? http://juliusdavies.ca/commons-ssl/utilities.html You can probably use the "KeyStoreBuilder" utility on the command-line to convert your OpenSSL RSA key into a java-friendly "jks" file (aka: java keystore file). Try this command: - java -cp not-ye

Unusual RSA Private Key Format? (JSAFE)

2007-10-09 Thread Pierce Ward
Hi guys, I'm currently writing a little test application using RSA's JSAFE libraries (java version of BSAFE), and I'm generating my keys using openssl, however I cannot get a signature to verify successfully. An example program (with hard coded bytes for the private key) using an rsa algorithm wor

Re: Public key format

2006-07-30 Thread Marek Marcola
Hello, > I just have one qusetion, I am developing an application that makes > use of a cryptographic token (cryptocombo2048). The token exports the > public key to a file in the following format : > > Public Key Label[128byte] > Public Key ID[128byte] > Public Key Modulus[128 byte] > Public Key

Public key format

2006-07-30 Thread James Richard van den Berg
Hi AllI just have one qusetion, I am developing an application that makes use of a cryptographic token (cryptocombo2048). The token exports the public key to a file in the following format :   Public Key Label[128byte]Public Key ID[128byte]Public Key Modulus[128 byte]Public Key Exponent[4 bytes]B

public key format query

2006-07-30 Thread James Richard van den Berg
Hi AllI just have one qusetion, I am developing an application that makes use of a cryptographic token (cryptocombo2048). The token exports the public key to a file in the following format :   Public Key Label[128byte]Public Key ID[128byte]Public Key Modulus[128 byte]Public Key Exponent[4 bytes]B

Re: key format

2005-02-11 Thread Dr. Stephen Henson
On Fri, Feb 11, 2005, Janin-Magnificat Thomas wrote: > Thanks for your answer, > > Can SLLeavy format be encoded in DER and PEM form ? > Yes. The only difference between unencrypted PEM and DER is that unencrypted PEM is the DER form base64 encoded with start and end lines. Steve. -- Dr Stephe

RE: key format

2005-02-11 Thread Janin-Magnificat Thomas
Thanks for your answer, Can SLLeavy format be encoded in DER and PEM form ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Dr. Stephen Henson Envoyé : vendredi 11 février 2005 14:44 À : openssl-users@openssl.org Objet : Re: key format On Fri, F

Re: key format

2005-02-11 Thread Dr. Stephen Henson
On Fri, Feb 11, 2005, Janin-Magnificat Thomas wrote: > Hello, > > I'm trying to create a little program that can load certificates and keys > in a database with openssl api. But I'm not clear with keys files format. > Correct me if I'm wrong : > > - PKCS#8 format is an encrypted format that co

key format

2005-02-11 Thread Janin-Magnificat Thomas
Hello, I'm trying to create a little program that can load certificates and keys in a database with openssl api. But I'm not clear with keys files format. Correct me if I'm wrong : - PKCS#8 format is an encrypted format that contains private and public key. - PKCS#1 is a format for RSA key

Re: RSA BSAFE/OpenSSL key format.

2004-08-11 Thread Dr. Stephen Henson
es:d2i_PrivateKey:ASN1 lib:d2i_pr.c: > > Looks like the header is wrong. > > I am confused to the key format ASN.1 is a standard > that can be encoded using BER or DER. BSAFE types > reference BER not DER OpenSSL is using DER not BER. > DER encoding provides only one strict form

RSA BSAFE/OpenSSL key format.

2004-08-11 Thread Chris Tojza
EMPLATE_D2I:nested asn1 error:tasn_dec.c:566:Field=n, Type=RSA 5840:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib:d2i_pr.c: Looks like the header is wrong. I am confused to the key format ASN.1 is a standard that can be encoded using BER or DER. BSAFE types reference BER not DER Op

How to generate private key format accept by microsoft signcode ?

2004-03-05 Thread Dongsheng Song
Hello, How to generate private key format accept by microsoft signcode tool ? Thanks for advance __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL

PEM public key format

2003-01-20 Thread David Mattes
Hi, Can anyone point me to documentation describing the format of a PEM certificate? I would like to know the order of data in a public certificate, i.e. modulus, exponent, etc. Thanks! David -- David Mattes

Re: SV: Microsoft IIS backup key format

2001-08-21 Thread Dr S N Henson
"Hellan,Kim KHE" wrote: > > You state in the 'rsa' manual pages that you consider implementing an option > to handle '.key' files without having to manually edit them. > Is this still considered in future OpenSSL releases or has it been dropped? > Yes it should be implemented in a future versio

Re: Microsoft IIS backup key format

2001-08-21 Thread derek
I was just playing with this yesterday... I generated a CSR for thawte and imported the cert and verified it all worked in IIS5 and then export everything for use with Apache-mod-ssl 1.3.20. I was able to run the exported private key file through the pkcs12 util in openssl and then edit the fi

SV: Microsoft IIS backup key format

2001-08-21 Thread Hellan,Kim KHE
ate key. >I think its possible to import two files into IIS as well, one NET, the >other a certificate. >Steve. Yes, you're right. It is possible to import separate key/cert. It is only the export than only supports the '.key' format. You state in the 'rsa' manual

Re: Microsoft IIS backup key format

2001-08-21 Thread Dr S N Henson
"Hellan,Kim KHE" wrote: > > Simple question. > Does anyone know what format the key backup file from a MS IIS webserver is? > If yes...anyone know of a tool to parse/create such a file? > The binary backup file contains both the private key and the belonging > certificate, but it is not P

Microsoft IIS backup key format

2001-08-21 Thread Hellan,Kim KHE
Simple question. Does anyone know what format the key backup file from a MS IIS webserver is? If yes...anyone know of a tool to parse/create such a file? The binary backup file contains both the private key and the belonging certificate, but it is not PKCS#12. My guess is, that the key pr

crypto: Private key format

2001-03-09 Thread Wesley W. Terpstra
owever, now I need to read their private key. Because it is protected with a passphrase, I am not sure how to proceed. I am not sure if pem is the format I should be trying to read or not. Ideally I want to make a function: RSA* readPrivateKey(const string& key, const string& passphrase); W

key format compatible with pgp?

2000-10-02 Thread Javier Baliosian
Hello, Can i to generate a key with openssl compatible with pgp? this means a key that i can to import it in pgp. if it is possible, what format is that? thanks, Javier Baliosian __ OpenSSL Project

Re: How to create PKCS8 key format

1999-11-12 Thread Jan Leßner
Steve > Well I wrote the PKCS#8 code so I might be able to help :-) > > To change this you need to use the -topk8 option which reverses things > so it reads a traditional format private key and converts to PKCS#8. Oh yes, indeed, it works!! Sometimes things are just too easy to understand. :-) T

Re: How to create PKCS8 key format

1999-11-10 Thread Dr Stephen Henson
Jan Leßner wrote: > > Hello OpenSSL guys > Does anybody know how to create a PKSC8 formatted private key file? > Well I wrote the PKCS#8 code so I might be able to help :-) > As far as I understood, OpenSSL by default generates private key files > in PKCS5 format. I was hoping that the pkcs8 t