Hi
I'am looking for a way to script asymetrical encryption of a named file.
rsautl providede that feature but it seems to be outside openssl now
(but it is still in the documentation). Is there a another way to do it
using openssl command inte
Hi!
I am using rsautl to encrypt some data, and i have a problem with the
size of the key. If i am using a key too small, the data will not
be encrypted. My problem is i do not know, in advance, the size of
the data i have to encrypt. So i would like to generate a key which
is available to
Aumont wrote:
>
> Hi
>
> I'am looking for a way to script asymetrical encryption of a named file.
> rsautl providede that feature but it seems to be outside openssl now
> (but it is still in the documentation). Is there a another way to do it
> using openssl command
>
> I am using rsautl to encrypt some data, and i have a problem with the
> size of the key. If i am using a key too small, the data will not
> be encrypted. My problem is i do not know, in advance, the size of
> the data i have to encrypt. So i would like to generate a key which
&g
Hi,
Bit of a problem as I'm stuck with RSA signatures...
I've got a file containing 128 bytes of data (no
CR/LF). The original data was padded (ISO9796-2/1) in
order to create this file.
When trying to sign this data with rsautl using the
following command:-
openssl rsautl -in pad
Hi,
This is really directed at the OpenSSL development but
I didn't want to intrude on the core group's work at
this time.
I've encountered a problem with "openssl rsautl" in
that I need to use the sign function and submit the
passphrase from another application. On Un
When I perform "rsautl -sign -pkcs" ..., then I create a siganture
according to the PKCS#1 standard. However, the PKCS#1 standard specifies
only signatures with appendix, but the command creates an output from
which the original text can recovered (using -verify). So what standard
Hi,
I am trying to decrypt (verify a signature) some data encrypted by
AspEncrypt and put in a tempfile with:
openssl rsautl -inkey mycert.key -pubin -verify -in tempfile
And I get the following error:
RSA operation error
280:error:0406706C:rsa routines:RSA_EAY_PUBLIC_DECRYPT:data greater than
signed documents output by the applet I resorted
to "openssl rsautl" to sign the document and compare the result to the
one signed by the applet. Here is where my problem is.
$ openssl rsautl -sign -raw -in prueba.xml -inkey abbpermarn.priv.pem
-out prueba.ssl.sgn
Enter pass
Hi
Why the openssl line command "openssl rsautl -decrypt" does not
recognize the "-passin pass:foo" syntaxe ? This command need a private key
so it could be usefull to allow this way to enter the pass phrass.
Wrong ?
On Wed, 2004-01-21 at 06:59, Adolfo Bello wrote:
Sorry for replying to myself.
I just realized that I need to use the "dgst" command.
Adolfo
__
OpenSSL Project http://www.openssl.org
User Support
Hello,
I am building a PKCS#11 engine to an HSM. When I run:
openssl rsautl -sign -inkey -keyform engine -in
-out -engine
The engine executes the rsa_priv_enc function (I thought the engine would
execute rsa_sign, but this is not the problem). The problem is when the
rsa_priv_enc ends
I am trying to encrypt a file using rsautl, but its generating an error.
What am I doing wrong??
I create a private key -
/usr/local/ssl/bin/openssl genrsa -out rsa-priv.pem 2048
Generating RSA private key, 2048 bit long modulus
From: Michael Mason <[EMAIL PROTECTED]>
michael.mason> I'm using openssl and would like to sign messages using
michael.mason> RSA. From the docs, it looks like I'm trying to use
michael.mason> "openssl rsautl", but my from-source build of 0.9.5a
michael.mason
> What exactly is the error message? What platform are we talking
> about?
Sorry, it's Redhat linux 6.2, and openssl-0.9.5a. I've just built
0.9.6-beta3 and the command is included in that version. I'm going to try it
out now.
Cheers,
Mike.
__
From: Michael Mason <[EMAIL PROTECTED]>
michael.mason> Sorry, it's Redhat linux 6.2, and openssl-0.9.5a. I've
michael.mason> just built 0.9.6-beta3 and the command is included in
michael.mason> that version. I'm going to try it out now.
That explains it. rsautl
Michael Mason wrote:
>
> Hi folks,
>
> I'm new here so feel free to point me at TFM.
>
> I'm using openssl and would like to sign messages using RSA. From the docs,
> it looks like I'm trying to use "openssl rsautl", but my from-source build
> If by messages you mean "email" then the 'smime' application is best
> suited. rsautl is a low level signing and diagnostic utility and its
> only in 0.9.6-betas at present.
Actually I'm wanting to take a message (a CSV string, as it happens), sha1
hash
On Fri, Jun 25, 2010, Nacho lvarez wrote:
> Hello,
>
> I am building a PKCS#11 engine to an HSM. When I run:
>
> openssl rsautl -sign -inkey -keyform engine -in
> -out -engine
>
> The engine executes the rsa_priv_enc function (I thought the engine would
> execut
Hi
I am using the below openssl command to encrypt a string using a public key and
get a binary output (symm_key_string_enc.txt). Is this an example of assymetric
encryption? and is there a way to get the output in a text/ASCII format?
openssl rsautl -encrypt -inkey pub_key.txt -pubin -in
Hello,
[EMAIL PROTECTED] wrote on 06/25/2008 08:59:00 PM:
> I am trying to encrypt a file using rsautl, but its generating an error.
> What am I doing wrong??
>
> I create a private key -
>
> /usr/local/ssl/bin/openssl genrsa -out rsa-priv.pem 2048
> Generating RSA
@openssl.org
Sent by:[EMAIL PROTECTED]
To: openssl-users@openssl.org
cc: (bcc: Dan Mitton/YD/RWDOE)
Subject:Re: How-To encrypt using rsautl ??
LSN: Not Relevant
User Filed as: Not a Record
Hello,
[EMAIL PROTECTED] wrote on 06/25/2008 08:59:00 PM:
> I am trying to encryp
(opensc-0.10.0, openssl 0.9.8a, engine_pkcs11-0.1.3)
Hi,
I need to feed a PIN via stdin to openssl.
The goal is to decrypt a file on disk and feed its result to some other
script.
I'm unsing this command:
echo mypin | openssl rsautl -engine pkcs11 -in key.crypt -inkey 45 -keyform
e
se than useless. Besides SSL see e.g. CMS PGP SMIME.
> and is there a way to get the output in a text/ASCII format?
> openssl rsautl -encrypt -inkey pub_key.txt -pubin
> -in symm_key_string.txt -out symm_key_string_enc.txt
Directly in rsautl, -hexdump displays in a form
6 f6 5d 2a 04
020 bd ef 57 00
024
% openssl rsautl -sign -inkey tests/keys/rsa_key1.key -pkcs -in digest > signing
% openssl rsautl -verify -inkey tests/keys/rsa_key1.pub -pubin -pkcs -in
signing > digest2
% od -t x1 digest
000 4e 07 b8 c7 aa f2 a4 ed 4c e3 9e 76 f6 5d 2a 04
In the man page for rsautl, OpenSSL 0.9.7l in Mac OS X, I read this
"Note" at the bottom:
"rsautl because it uses the RSA algorithm directly can only be used to
sign or verify small pieces of data."
That seems to imply that there is a better alternative to rsautl for
Hi!
I am having troubles to understand whats the difference between openssl dgst
-sha1 -sign and openssl dgst -sha1 -binary | openssl -rsautl -sign
The output is completely different and trying to verify one signature
produced by one method with the other method brings a padding error
Dear All,
I have build a fips-openssl based on the fips1.2 and openssl-0.9.8m,
But when I use the following command :
openssl rsautl -sign -in file -inkey rsakey -out file_sign_pem -keyform PEM,
it will produce the errors like this:
RSA operation error
21837:error:0408908E:rsa
ot;verify", it
will only perform the RSA verify operation with PKCS#1v1.5 padding, without
checking the validity or even if what has been signed is a DigestInfo
structure, and output the result of the RSA operation):
openssl rsautl -verify -inkey tests/keys/rsa_key1.pub -pubin -in
king the validity or even if what has been signed is a DigestInfo
> structure, and output the result of the RSA operation):
> openssl rsautl -verify -inkey tests/keys/rsa_key1.pub -pubin -in signing
> -asn1parse
> openssl pkeyutl -verifyrecover -inkey tests/keys/rsa_key1.pub -pubin -
erify", it will only perform the RSA verify operation with
> > PKCS#1v1.5 padding, without checking the validity or even if what
> > has been signed is a DigestInfo structure, and output the result of
> > the RSA operation):
> > openssl rsautl -verify -inkey tests/keys
t;
>>> signing
>>> openssl pkeyutl -inkey tests/keys/rsa_key1.key -in <(openssl dgst
>>> -sha1 -binary datatosign) -sign -pkeyopt digest:sha1 > signing
>>>
>>> and you can display the signature either way (this will not
>>> "verify&qu
Hello.
I tried to encrypt a file(1Mb), with RSA private key of 4096-bit length with
command:
openssl rsautl -encrypt -pubin -inkey rsapublickey.pem -in 2.txt -out 2.srsa
I get next error:
Loading 'screen' into random state - done
RSA operation error
5616:error:04
Hi,
I am trying to encrypt doc file using rsautl but it is giving me error as
follows
OpenSSL> rsautl -encrypt -inkey public.pem -pubin -in Mydoc.doc -out Myfile.ssl
Loading 'screen' into random state - done
RSA operation error
1184:error:0406D06E:rsa routines:RSA_padding_add
RSA and prepend that
to the encrypted file.
-chris
On 06/27/2011 09:00 AM, ml.vladimbe...@gmail.com wrote:
Hello.
I tried to encrypt a file(1Mb), with RSA private key of 4096-bit
length with command:
openssl rsautl -encrypt -pubin -inkey rsapublickey.pem -in 2.txt -out
2
Thanks for answer, Chris.
I understand that slow RSA algorithm is not used to encrypt large amounts of
data, instead of it symmetric algorithms are used.
But is it the limit of RSA-algorithm or only OpenSSL library's limit?
--
On Mon June 27 2011, Vladimir Belov wrote:
> Thanks for answer, Chris.
>
> I understand that slow RSA algorithm is not used to encrypt large amounts of
> data, instead of it symmetric algorithms are used.
>
> But is it the limit of RSA-algorithm or only OpenSSL library's limit?
>
The size of th
> From: owner-openssl-us...@openssl.org On Behalf Of Michael S. Zick
> Sent: Monday, 27 June, 2011 13:07
> On Mon June 27 2011, Vladimir Belov wrote:
> > I understand that slow RSA algorithm is not used to encrypt
> large amounts of
> > data, instead of it symmetric algorithms are used.
> >
> >
befor encyprting. I don´t
think openssl can do that for you 9not sure, but I don´t think it will).
Anyway, you should not use RSA for large files. RSA is too slow for that.
2010/1/11
> Hi,
> I am trying to encrypt doc file using rsautl but it is giving me error as
> follows
> Ope
want to
encrypt larger things, you should split the file befor encyprting. I don´t
think openssl can do that for you 9not sure, but I don´t think it will).
Anyway, you should not use RSA for large files. RSA is too slow for that.
>
> 2010/1/11
>>
>> Hi,
>> I am trying to
40 matches
Mail list logo