nary.
>
> When I run a simple application which calling "PEM_read_PrivateKey" it
> crashes with error "OPENSSL_Uplink(505D6000,08): no OPENSSL_Applink"
>
> What could be the reason for this? Any hint is greatly appreciated.
>
> Thanks,
> Lloyd
>
> The f
Hi,
I have downloaded prebuilt version of openssl for windows. I am running on
Windows 7 64bit, Using Visual Studio 2010, generating 32bit binary.
When I run a simple application which calling "PEM_read_PrivateKey" it
crashes with error "OPENSSL_Uplink(505D6000,08): no OPENSSL
First of all let me correct this
I am using ECDSA to create and verify a signature for a document.
I apparently cannot use the ecdsa.PEM *directory* and so here is my
question.
to this
I am using ECDSA to create and verify a signature for a document.
I apparently cannot use the ecdsa.PEM *dire
a("*mydocument*",&len); //orignal document
> result=sha256((char *)m,len);
>
> fp =fopen("*ecdsapriv.pem*", "rb"); */*marked*/*
> pevpkey= PEM_read_PrivateKey(fp, &pevpkey, NULL, NULL);
>
> peckey= EVP_PKEY_get1_EC_KEY(
("*mydocument*",&len); //orignal document
result=sha256((char *)m,len);
fp =fopen("*ecdsapriv.pem*", "rb"); */*marked*/*
pevpkey= PEM_read_PrivateKey(fp, &pevpkey, NULL, NULL);
peckey= EVP_PKEY_get1_EC_KEY(pevpkey);
EC_KEY_set_g
Solved!
Thanks, Steve.
Leonardo
-Mensagem original-
De: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org]
Em nome de Dr. Stephen Henson
Enviada em: terça-feira, 30 de outubro de 2012 20:04
Para: openssl-users@openssl.org
Assunto: Re: RES: PEM_read_PrivateKey
On
On Tue, Oct 30, 2012, Leonardo Laface de Almeida wrote:
> Hi,
>
> The code for my project example is attached. The error code is as well.
>
> The error remains. For generating Key, the callback is called. For getting
> Private Key, the callback is not called.
>
> What's wrong here?
>
> I reall
Hi,
The code for my project example is attached. The error code is as well.
The error remains. For generating Key, the callback is called. For getting
Private Key, the callback is not called.
What's wrong here?
I really appreciate any help.
Thanks.
Leonardo
<>#include
using namespace std
...@openssl.org [mailto:owner-openssl-us...@openssl.org]
Em nome de Dave Thompson
Enviada em: segunda-feira, 29 de outubro de 2012 19:25
Para: openssl-users@openssl.org
Assunto: RE: PEM_read_PrivateKey
> From: owner-openssl-us...@openssl.org On Behalf Of Leonardo Laface de
Almeida
> Sent: Monday
ate keys in memory using
>> PEM_read_PrivateKey
>>
>> EVP_PKEY *evpp = PEM_read_PrivateKey(fk, 0, 0, 0);
>>
>> the full key is filled in, i.e. evpp points to a complete
>> (public+private) key?
>> By analyzing the structure after the ca
> From: owner-openssl-us...@openssl.org On Behalf Of Leonardo Laface de
Almeida
> Sent: Monday, 29 October, 2012 16:20
> The problem I've got is quite simple. The callback I pass
> throught this
> function is not called.
> Someone could please help me figure out why? I've wrote as
> OpenSSL pag
@Gerardo,
I'm having a problem with this function and I will use your thread for some
support.
@All
The problem I've got is quite simple. The callback I pass throught this
function is not called. I inserted a breakpoint into cb and it's not called
at all.
I'm using OpenSSL 1.0.1c. I'm sure abou
On Mon, Oct 29, 2012, Gerardo Ganis wrote:
>
> Dear OpenSSL Users,
>
> Could someone confirm that when loading private keys in memory using
> PEM_read_PrivateKey
>
> EVP_PKEY *evpp = PEM_read_PrivateKey(fk, 0, 0, 0);
>
> the full key is fille
Dear OpenSSL Users,
Could someone confirm that when loading private keys in memory using
PEM_read_PrivateKey
EVP_PKEY *evpp = PEM_read_PrivateKey(fk, 0, 0, 0);
the full key is filled in, i.e. evpp points to a complete
(public+private) key?
By analyzing the structure
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oh jeez, I am! What was I *thinking*?! Wow do I feel *extra* goofy! Heh.
Obviously, that fixed it.
Thanks much!
- Aubrey
On Wed, Nov 12, 2008 at 02:55:16PM -0500, Victor Duchovni wrote:
> No, you are passing an open file handle.
-BEGIN PGP S
On Wed, Nov 12, 2008 at 02:26:49PM -0500, Aubrey Eddleson wrote:
> Rewind the key file? But how? I didn't open it; I'm just passing its name to
> PEM_read_PrivateKey. Am I totally missing something really obvious here?
EVP_PKEY *PEM_read_PrivateKey(FILE *
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rewind the key file? But how? I didn't open it; I'm just passing its name to
PEM_read_PrivateKey. Am I totally missing something really obvious here?
On Wed, Nov 12, 2008 at 02:12:03PM -0500, Victor Duchovni wrote:
> Rewinding the inp
On Wed, Nov 12, 2008 at 02:03:59PM -0500, Aubrey Eddleson wrote:
> Greetings!
>
> I'm working on a proof-of-concept SSH key cracker: my code reads in password
> guesses from standard input and for each guess, calls PEM_read_PrivateKey. If
> that returns a valid pointer, tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greetings!
I'm working on a proof-of-concept SSH key cracker: my code reads in password
guesses from standard input and for each guess, calls PEM_read_PrivateKey. If
that returns a valid pointer, that indicates that the password was correct
On Wed, Oct 17, 2007 at 12:43:03PM -0700, Jim Fox wrote:
>
> >I have a private CA certificate created using openssl command line. The
> >issue is that the certificate expires on 19th Oct, 2007. The question is
> >that "Is it possible to extend the expiry of this certificate without
> >changing an
I have a private CA certificate created using openssl command line. The
issue is that the certificate expires on 19th Oct, 2007. The question is
that "Is it possible to extend the expiry of this certificate without
changing any other fields in the certificate?" Basically, I want to continue
usin
Hi,
I have a private CA certificate created using openssl command line. The
issue is that the certificate expires on 19th Oct, 2007. The question is
that "Is it possible to extend the expiry of this certificate without
changing any other fields in the certificate?" Basically, I want to continue
usi
Hi,
I searched for this function on net and got lot of threads, but couldn't
solve my problem. My problem is as follows..
I have generated a RSA key using OenSSL and stored it in a PEM file. When i
try to read it using above function , the structure returned to me by
PEM_read_PrivateKey is
IVATE KEY-
> so i use EVP_PKEY *prikey;
> FILE *keyfp;
> if (!(prikey = PEM_read_PrivateKey(keyfp, NULL, NULL, NULL)))
> return 0;
> return 1;
> it always return 0,by the way the my ec curve is not in openssl ec curve
> list.
the above ec private key specifies us
PEM_read_PrivateKey
call
PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void
*u)
{
if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u))
return NULL;
p = data;
if (strcmp(nm,PEM_STRING_RSA) == 0)
; bcoz d2i resolves to d2i_X509() , not to
> > d2i_PrivateKey> >> > --- �� <[EMAIL PROTECTED]>> wrote:> >> > > when i use PEM_read_PrivateKey find it work
> error> > > ,so i look into> > > PEM_read_PrivateKey to find the reason
*keyfp;
if (!(prikey = PEM_read_PrivateKey(keyfp, NULL, NULL, NULL)))
return 0;
return 1;
it always return 0,by the way the my ec curve is not in openssl ec curve
list.
From: "Dr. Stephen Henson" <[EMAIL PROTECTED]>
Reply-To: openssl-users@openssl.org
T
On Tue, Jun 13, 2006, ?? wrote:
> when i use PEM_read_PrivateKey find it work error ,so i look into
> PEM_read_PrivateKey to find the reason.
Printing out the error code in human readable form might help more (see FAQ)
assuming you haven't done that already.
Steve.
--
Dr Stephe
On Tue, Jun 13, 2006, ?? wrote:
> when i use PEM_read_PrivateKey find it work error ,so i look into
> PEM_read_PrivateKey to find the reason.
> first i find in
> #define PEM_read_PrivateKey(fp,x,cb,u) (EVP_PKEY *)PEM_ASN1_read( \
> (char *(*)())d2i_PrivateKey,PEM_
t; > >
> > > bcoz d2i resolves to d2i_X509() , not to
> > > d2i_PrivateKey
> > >
> > > --- ?? <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > > when i use PEM_read_PrivateKey find it work
> > error
> > > > ,so i look
TED]> wrote:
> how come ? plz explain.
>
> On 6/13/06, Girish Venkatachalam
> <[EMAIL PROTECTED]> wrote:
> >
> > bcoz d2i resolves to d2i_X509() , not to
> > d2i_PrivateKey
> >
> > --- �� ���� <[EMAIL PROTECTED]>
> wrote
how come ? plz explain.
On 6/13/06, Girish Venkatachalam <[EMAIL PROTECTED]> wrote:
bcoz d2i resolves to d2i_X509() , not tod2i_PrivateKey--- �� <
[EMAIL PROTECTED]> wrote:> when i use PEM_read_PrivateKey find it work error> ,so i look into> PEM_read_PrivateKey to find
bcoz d2i resolves to d2i_X509() , not to
d2i_PrivateKey
--- �� ���� <[EMAIL PROTECTED]> wrote:
> when i use PEM_read_PrivateKey find it work error
> ,so i look into
> PEM_read_PrivateKey to find the reason.
> first i find in
> #define PEM_read_PrivateKey
when i use PEM_read_PrivateKey find it work error ,so i look into
PEM_read_PrivateKey to find the reason.
first i find in
#define PEM_read_PrivateKey(fp,x,cb,u) (EVP_PKEY *)PEM_ASN1_read( \
(char *(*)())d2i_PrivateKey,PEM_STRING_EVP_PKEY,fp,(char **)x,cb,u)
next i find in
void
( bio, NULL, NULL, password );
Note that I am not providing a password callback and that I am using the bio
version of the PEM_read_PrivateKey.
I hope it helps.
Marc-Andre
-Original Message-
From: Roberto Rodrigues - McLean [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 4:55 PM
To
hi,
I basically copied the code from sign.c, I call it like this:
PEM_read_PrivateKey(fp, NULL, pass_cb, password);
it crashes complaining about memory access.
Has anyone make it work on Windows ? Is there any other way of loading a
Private Key from a file (into a EVP obj) ?
Thank you
Hello
When I make an RSA key with
openssl genrsa -out key.pem 1024
I can read it fine with
FILE* fp = ...;
EVP_PKEY* pkey;
pkey = PEM_read_PrivateKey(fp, 0, 0, 0);
and use pkey to sign data. If I try the same with DES3 encryption
openssl
Title: Message
This document is in INSTALL.W32.
If you don't use the multithreaded DLL runtime
library (/MD option) yourprogram will almost certainly crash because malloc
gets confused -- theOpenSSL DLLs are statically linked to one version, the
application mustnot use a different
Title: Message
This document is in INSTALL.W32.
If you don't use the multithreaded DLL runtime
library (/MD option) yourprogram will almost certainly crash because malloc
gets confused -- theOpenSSL DLLs are statically linked to one version, the
application mustnot use a different o
Title: Message
I'm having some difficulty using PEM_read_privatekey.
When I link my application with the debug dll ms runtime PEM_read_privateKey
works, but if I link against the release dll ms runtime then PEM_read_PrivateKey
exceptions out.. Anyone have a clue why th
Is there some magic function within OpenSSL where the contents of
a private RSA/DSA file can be passed via memory to the equivalent
of the PEM_read_PrivateKey function?
Ken
__
Support
InterSoft International, Inc.
Voice: 888-823-1541
41 matches
Mail list logo