ODP: CSR creation using pkcs11 dynamic engine

2021-06-01 Thread Piotr Lobacz
ne: wtorek, 1 czerwca 2021 17:36 Do: Selva Nair DW: openssl-users@openssl.org Temat: ODP: CSR creation using pkcs11 dynamic engine Sorry my bad i was checking bad position in the file... Od: openssl-users w imieniu użytkownika Piotr Lobacz Wysłane: wtorek, 1 cz

ODP: CSR creation using pkcs11 dynamic engine

2021-06-01 Thread Piotr Lobacz
Sorry my bad i was checking bad position in the file... Od: openssl-users w imieniu użytkownika Piotr Lobacz Wysłane: wtorek, 1 czerwca 2021 17:34 Do: Selva Nair DW: openssl-users@openssl.org Temat: ODP: CSR creation using pkcs11 dynamic engine Ok not fixed

ODP: CSR creation using pkcs11 dynamic engine

2021-06-01 Thread Piotr Lobacz
: Piotr Lobacz DW: openssl-users@openssl.org Temat: Re: CSR creation using pkcs11 dynamic engine Hi Piotr, On Tue, Jun 1, 2021 at 10:57 AM Piotr Lobacz mailto:piotr.lob...@softgent.com>> wrote: Hi, i have managed to find the engine method static EVP_PKEY *load_privkey(ENGINE *engine, cons

ODP: CSR creation using pkcs11 dynamic engine

2021-06-01 Thread Piotr Lobacz
: openssl-users@openssl.org Temat: Re: CSR creation using pkcs11 dynamic engine Hi Piotr, On Tue, Jun 1, 2021 at 10:57 AM Piotr Lobacz mailto:piotr.lob...@softgent.com>> wrote: Hi, i have managed to find the engine method static EVP_PKEY *load_privkey(ENGINE *engine, const char *s_

Re: CSR creation using pkcs11 dynamic engine

2021-06-01 Thread Selva Nair
On Tue, Jun 1, 2021 at 11:15 AM Selva Nair wrote: > > Hi Piotr, > > On Tue, Jun 1, 2021 at 10:57 AM Piotr Lobacz > wrote: >> >> Hi, >> i have managed to find the engine method static EVP_PKEY >> *load_privkey(ENGINE *engine, const char *s_key_id, UI_METHOD *ui_method, >> void *callback_data) i

Re: CSR creation using pkcs11 dynamic engine

2021-06-01 Thread Selva Nair
Hi Piotr, On Tue, Jun 1, 2021 at 10:57 AM Piotr Lobacz wrote: > Hi, > i have managed to find the engine method static EVP_PKEY > *load_privkey(ENGINE *engine, const char *s_key_id, UI_METHOD *ui_method, > void *callback_data) in libp11 package. I have also made a printf callback > and i see the

ODP: CSR creation using pkcs11 dynamic engine

2021-06-01 Thread Piotr Lobacz
l.org Temat: ODP: CSR creation using pkcs11 dynamic engine Hi, unfortunately that is not that simple :( These methods are not being exposed by the dotnet. Porting them would take to much time because of the method struct. Recompiling the whole dotnet sdk is also not an option. You know, i&#x

ODP: CSR creation using pkcs11 dynamic engine

2021-05-29 Thread Piotr Lobacz
check this on monday and keep you inform. Have a nice weekend. BR Piotr Od: Selva Nair Wysłane: sobota, 29 maja 2021 03:34 Do: Piotr Lobacz Temat: Re: CSR creation using pkcs11 dynamic engine Hi, I will also check these flags of my RSA object using RSA_test_flags

ODP: CSR creation using pkcs11 dynamic engine

2021-05-28 Thread Piotr Lobacz
e: piątek, 28 maja 2021 20:47 Do: Piotr Lobacz DW: openssl-users@openssl.org Temat: Re: CSR creation using pkcs11 dynamic engine Hi, On Fri, May 28, 2021 at 1:44 PM Piotr Lobacz wrote: > > Ok, i have found out that dotnet OpenSsl library has it's own code for > verification is key

Re: CSR creation using pkcs11 dynamic engine

2021-05-28 Thread Selva Nair
Hi, On Fri, May 28, 2021 at 1:44 PM Piotr Lobacz wrote: > > Ok, i have found out that dotnet OpenSsl library has it's own code for > verification is key private. For this it needs the whole data of private key > from which this method: > > static int HasNoPrivateKey(RSA* rsa) > > which is in .

ODP: CSR creation using pkcs11 dynamic engine

2021-05-28 Thread Piotr Lobacz
: openssl-users@openssl.org Temat: CSR creation using pkcs11 dynamic engine Hi all, i'm trying to generate CSR using C# System.SecurityCryptography.Openssl library together with pkcs11 token library. The whole proces for this in command line works without any problems. For execution of this p

CSR creation using pkcs11 dynamic engine

2021-05-28 Thread Piotr Lobacz
Hi all, i'm trying to generate CSR using C# System.SecurityCryptography.Openssl library together with pkcs11 token library. The whole proces for this in command line works without any problems. For execution of this process i use command: openssl req -new -subj '/C=PL/ST=Gdansk/L=Gdansk/CN=softg