Hello,
> The rsautl utility can do this using the -sign and -verify options. In rsautl
> "verify" does a public decrypt and writes the result rather than a memcmp
> and a Yes/No answer.
You are right:
--
$ openssl genrsa -out rsa.pem 1024
Generating RSA private key, 1024 bit long modu
On Fri, Apr 14, 2006, Marek Marcola wrote:
> Hello,
> > just a side note:
> >
> > RSA private keys can be used to encrypt data that can be decrypted
> > with the public key.
> >
> > RSA public keys can be used to encrypt data that can be decrypted with
> > the private key.
> Thats true, "signing
Hello,
> just a side note:
>
> RSA private keys can be used to encrypt data that can be decrypted
> with the public key.
>
> RSA public keys can be used to encrypt data that can be decrypted with
> the private key.
Thats true, "signing" is technically nothing else as encrypting some
data (md hash
just a side note:
RSA private keys can be used to encrypt data that can be decrypted
with the public key.
RSA public keys can be used to encrypt data that can be decrypted with
the private key.
The speed of the operation is 3 to 4 orders of magnitude slower than
the equivalent encryption/decrypt
Hi all,
I've removed the replies, for shortness. Thank you very much for them,
they have been very enlightning. I think I've found my solution. What I
wanted to do is make sure that the software only runs on a system that
has a smartcard connected to it that the software owner has sent the
custom
> However, when I try to use openssl to decrypt using the corresponding
> RSA-public key, I get:
>
> A private key is needed for this operation
That is how RSA encryption works:
1) There is a public key that you can distribute.
2) There is a private key from which the pu
Dr. Stephen Henson wrote:
You can't because that isn't what the operation is doing. If you perform an
"encrypt" operation with RSA it is encrypting the data using a *public* key.
It accepts a private key but only uses the public key portion of it.
That's what the decrypt operation fails: it need
On Thu, Apr 13, 2006, Simon de Hartog wrote:
> Hi,
>
> I have a rather complicated situation in the sense that I need to
> realize licensing checks of software. This is done through a config file
> that is signed through a USB smartcard (crypto-token). Next to that, I
> have a symmetric blowfi
Hi,
I have a rather complicated situation in the sense that I need to
realize licensing checks of software. This is done through a config file
that is signed through a USB smartcard (crypto-token). Next to that, I
have a symmetric blowfish key that I need for that. This key has been
encrypted