Hi
I am porting ocde from redhat 7.1 to redhat 8.
Exixiting code that was working on 7.1 is now failing on
pAsn1 = d2i_ASN1_BIT_STRING(NULL, &pVar,len);
Is there anything that I need to be aware of when changing between version of gcc etc
Hylton
--> Resent as mail did not arrive at list by 15/1/2002
Hi
I have spent some more time on this and have been unable to
find a solution.
Has anyone been able to pass signed data from Windows to
Linux and back and verify the data using RSA_Sign and
RSA_Verify. If you have, your help is needed. I
Hi
I have found the answer. The data was revered between the 2 platforms.
By reversing the string I am able to get RSA_verify to work.
Hylton
-Original Message-
From: Hylton Tregenza
Sent: 04 January 2002 11:11
To: [EMAIL PROTECTED]
Subject: RSA_verify question
Hi
I am using
resouces available to me. A detailed description is in the mail below.
I may be able to attach some of the windows code if required.
Thanks
Hylton
-Original Message-
From: Hylton Tregenza
Sent: 04 January 2002 11:11
To: [EMAIL PROTECTED]
Subject: RSA_verify question
Hi
I am using
dvise on what action I need to take to resolve this or what the
problem(s) could be.
My app is not too large and is attached for additional info.
Hylton Tregenza
z.cpp
Description: z.cpp
Hi
Thanks for the responce.
MSKeyblob file (attached) is the exported public key
written to file
I will look into the RSA_PUBKEY functions too.
Hylton
// a while later
Update -
Using the Rsa = d2i_RSA_PUBKEY(...)
Rsa is null and the following error message is given.
24803:error:0D0AA007
Hi all
I am still battling with getting a key exported as a public key blob
from a MS platform into openssl on Linux to add to a certificate.
I have learned that MS exports the key as a PKCS#1 structure. the key is
a 512 bit (64 Byte) key. When I write this blob to file it is 84 Bytes
in length.
Test
==
Brought to you by Ananzi Mail
[http://mail.ananzi.co.za]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager
Hi all
Expert help required.
I need to be able to store and use the public key of a client that will
be exported from an MS machine (using the CryptExportKey) function. How
do I interpret this data. (I will be receiving it on a socket) and
convert it to an RSA *. I will need to use it to sign m
[EMAIL PROTECTED]
... Sending again as original appears to be stuck somewhere
Hi all
Expert help required.
I need to be able to store and use the public key of a client that will
be exported from an MS machine (using the CryptExportKey) function. How
do I interpret this data. (I will be recei
Hi all
Expert help required.
I need to be able to store and use the public key of a client that will
be exported from an MS machine (using the CryptExportKey) function. How
do I interpret this data. (I will be receiving it on a socket) and
convert it to an RSA *. I will need to use it to sign m
Solved.
-Original Message-
From: Hylton Tregenza
Sent: 10 December 2001 04:06
To: [EMAIL PROTECTED]
Subject: Generating openssl keypair.
Hi
I am trying to understand the method of generating key pais with
openssl.
The command
openssl genrsa -des3 -out ca.key 2048
gives me a file
Hi
I am trying to understand the method of generating key pais with
openssl.
The command
openssl genrsa -des3 -out ca.key 2048
gives me a file ca.key that looks something like this.
-BEGIN RSA PRIVATE KEY-
MIIBPAIBAAJBAJwdEzEFhpG2QZ4CcFCvnYGgHauyPNlWkW
Alex, thanks for the responce. Here's a follow up question.
d2i_PublicKey has a type as the first parameter. What are they refereing
to? What do they wnt in this field?
Hylton
-Original Message-
From: Alexander Kuit [mailto:[EMAIL PROTECTED]]
Sent: 03 December 2001 05:21
To: [EMAIL PROT
Alex, thanks for the responce.
Here's a follow up question.
d2i_PublicKey has a type as the first parameter. What are they refereing
to? What do they want in this field?
Hylton
-Original Message-
From: Alexander Kuit [mailto:[EMAIL PROTECTED]]
Sent: 03 December 2001 05:21
To: [EMAIL
Good morning
By difficulty -->
From what I can make out of the docs and code it is only possible to add extensions to a X509_REQ structure and not a X509 structure.
Should this be the case, how do I convert from the X509_REQ to the X509 or alternatively how do I add extensions to a X509 s
Hi.
I'm getting myself confused with the different formats. I see the PEM functions are defined as PEM_ANS.
Is PEM the equivalent of ANS or can ASN be represented in PEM format.
The route of my problem is such.
I am going to be getting a public key on a socket from a MS machine expor
Thank you.
So simple, so powerfull.
Hylton
-Original Message-
From: Dale Peakall [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2001 02:25
To: [EMAIL PROTECTED]
Subject: RE: Output a file as a PKCS#7
PEM_write_X509
__
Hi.
I'm generating a certificate with in my code. I have a x509 structure that is populated and signed.
If I call X50_print, a file is generated that contains the certificate but the file does not contain the BEGIN and END CERTIFICATE header and footer.
Below is a sample of the file gener
Hi
I'm looking for what the parameters for X509_NAME_ENTRY_create_by_NID mean. I can see what they are in the source code but is there a site where the function(s) for creating a certificate is explained.
After a search on X509_NAME_ENTRY_create_by_NID using google, no reference to the open
Hi
I have come into this thread a bit late. Having just completed Inetd.d
/openssl I might be able to help butI do not have the original question.
Inetd uses stdin and stdout (0,1). I have noted that any debugging
indormation (printf etc) sent to these ports intereferes with the
comminication. I
Sorry, I asked to early, There is
nothing wrong with the code. The file is not a public key file (or the format
isd wrong) How do I extract a public key file from a
certificate?
Hylton
-Original Message-From: Hylton Tregenza
Sent: 16 November 2001 12:24To:
[EMAIL PROTECTED
Hi
I am trying to read a public key from a certificate file in PEM format.
My code looks as follows.
I constanty get null as a result from the call to PEM_read_RSAPublicKey
#include
#include
#include
#include
#include
#include
#include
#include "main.h"
#define HOME
format by default or do I need to
tell it somewhere.
any idea what I could be overlooking.
any other information I should be giving?
Hylton
-Original Message-
From: Hylton Tregenza
Sent: 17 October 2001 04:32
To: [EMAIL PROTECTED]
Subject: Pem_read_bio - expecting certificate.
Hi all
I
Title: Message
I am
having the same problem. If I find anything I will let you
know
-Original Message-From: Andrew Finnell
[mailto:[EMAIL PROTECTED]]Sent: 17 October 2001
04:11To: 'Openssl ([EMAIL PROTECTED])'Subject:
PEM_read_bio
I am
getting an error message , PEM_re
Hi all
I have looked in the archives but not found an examale or assistance
there.
I am having difficulty with a CA certificate (created with ./CA -newca)
I am getting the following error
1895:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:662:Expecting: CERTIFICATE.
The cert
Hi,
I am calling ssl_accept but it is not blocking. This is very new to me
but as the design goes, I need the socket to block on accept.
The application currently works without SSL. I am trying to add SSL to
the routines allowing the user to determine if they want a secure
connection to not.
The
Hi,
I am calling ssl_accept but it is not blocking. This is very new to me
but as the design goes, I need the socket to block on accept.
The application currently works without SSL. I am trying to add SSL to
the routines allowing the user to determine if they want a secure
connection to not.
The
28 matches
Mail list logo