Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-19 Thread Douglas E. Engert
On 4/18/2011 9:42 PM, Felipe Blauth wrote: > > > 2011/4/16 Martin Paljak > > > Hello, > On Apr 14, 2011, at 17:43 , Felipe Blauth wrote: > > 2011/4/14 Martin Paljak > > > Hello, > > On Apr 14, 2011, at 02:21

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-18 Thread Felipe Blauth
2011/4/16 Martin Paljak > Hello, > On Apr 14, 2011, at 17:43 , Felipe Blauth wrote: > > 2011/4/14 Martin Paljak > > Hello, > > On Apr 14, 2011, at 02:21 , Felipe Blauth wrote: > > > I just wanted to make a simple protocol to import a private key to a > card in a secure way (the aplication runs

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-14 Thread Douglas E. Engert
On 4/14/2011 5:52 AM, Martin Paljak wrote: > > On Apr 13, 2011, at 23:44 , Douglas E. Engert wrote: > >> >> >> On 4/13/2011 2:03 PM, Martin Paljak wrote: >>> Hello, >>> On Apr 13, 2011, at 20:44 , Felipe Blauth wrote: >>> Hello to all, Simple question: Is it possible, using o

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-14 Thread Martin Paljak
Hello, On Apr 14, 2011, at 10:40 , Jean-Michel Pouré - GOOZE wrote: > Le mercredi 13 avril 2011 à 14:44 -0300, Felipe Blauth a écrit : >> Is it possible, using openssl, to unwrap a key wraped inside a Smart >> Card with C_Wrap function? > > This would be an extremely interesting feature to unwra

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-14 Thread Martin Paljak
Hello, On Apr 14, 2011, at 02:21 , Felipe Blauth wrote: > I just wanted to make a simple protocol to import a private key to a card in > a secure way (the aplication runs in a secure container): > I was thinking about 2 ways: > > 1) The card generates a key pair > 2) The card exports the public

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-14 Thread Martin Paljak
On Apr 13, 2011, at 23:44 , Douglas E. Engert wrote: > > > On 4/13/2011 2:03 PM, Martin Paljak wrote: >> Hello, >> On Apr 13, 2011, at 20:44 , Felipe Blauth wrote: >> >>> Hello to all, >>> >>> Simple question: >>> Is it possible, using openssl, to unwrap a key wraped inside a Smart Card >>>

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-14 Thread Jean-Michel Pouré - GOOZE
Le mercredi 13 avril 2011 à 14:44 -0300, Felipe Blauth a écrit : > Is it possible, using openssl, to unwrap a key wraped inside a Smart > Card with C_Wrap function? This would be an extremely interesting feature to unwrap an encryption key and later use it. A number of smartcards are able to st

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-13 Thread Felipe Blauth
2011/4/13 Douglas E. Engert > > > On 4/13/2011 2:03 PM, Martin Paljak wrote: > > Hello, > > On Apr 13, 2011, at 20:44 , Felipe Blauth wrote: > > > >> Hello to all, > >> > >> Simple question: > >> Is it possible, using openssl, to unwrap a key wraped inside a Smart > Card with C_Wrap function? >

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-13 Thread Douglas E. Engert
On 4/13/2011 2:03 PM, Martin Paljak wrote: > Hello, > On Apr 13, 2011, at 20:44 , Felipe Blauth wrote: > >> Hello to all, >> >> Simple question: >> Is it possible, using openssl, to unwrap a key wraped inside a Smart Card >> with C_Wrap function? Its not that simple. Is the key to be unwrapped

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-13 Thread Martin Paljak
Hello, On Apr 13, 2011, at 20:44 , Felipe Blauth wrote: > Hello to all, > > Simple question: > Is it possible, using openssl, to unwrap a key wraped inside a Smart Card > with C_Wrap function? The format of C_Wrap is described in PKCS#11 specification. Yes, you could use OpenSSL but note that

Re: [opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-13 Thread Andre Zepezauer
On Wed, 2011-04-13 at 14:44 -0300, Felipe Blauth wrote: > Hello to all, > > Simple question: > Is it possible, using openssl, to unwrap a key wraped inside a Smart > Card with C_Wrap function? Maybe, but the question here is how the key becomes wrapped in the smart card. OpenSC doesn't support t

[opensc-devel] Unwrap, with openssl, a key wrapped inside Smart Card

2011-04-13 Thread Felipe Blauth
Hello to all, Simple question: Is it possible, using openssl, to unwrap a key wraped inside a Smart Card with C_Wrap function? Thank you. __ Felipe Blauth ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.or