Hello all guys,
I'm a newbie... and going to understand the OpenSSL and the APIs involved
in, and even if I searched in the Net, there are two main question/subject
fields that I'd like to ask for.
1. Firstly, I wrote a little code that I don't know if it's really good
enough. So, comments, sugge
It is very likely that your text file also contains a newline at the
end, so getting the same result as with the echo command would be
expected. If it is indeed the newline that is making the difference,
you could try using the echo command with the '-n' option to suppress it.
Jay
On 11/24/2
On Tue, Nov 24, 2015 at 06:12:59PM +0100, David García wrote:
> Sorry, still not getting the same result, now with the command:
>
> echo 005863330 | openssl enc -e -des-ede3-cbc -K
> 'b2aec78eb50e05f2a60b9efa20b82c903e6cad4f3bd2027b' -iv -nosalt |
> openssl enc -base64
Please also read
Hi,
I faced a problem to compile OpenSSL 1.0.2a with no_des option. I faced the
same problem until OpenSSL 1.0.2d.
Fortunately I found a patch in the URL below.
I can do the code changes suggested in this URL and able to compile.
https://www.mail-archive.com/openssl-dev@openssl.org/msg39295.html
Sorry, still not getting the same result, now with the command:
echo 005863330 | openssl enc -e -des-ede3-cbc -K
'b2aec78eb50e05f2a60b9efa20b82c903e6cad4f3bd2027b' -iv -nosalt |
openssl enc -base64
I get:
H6cr2yN8oWXn2RxiDqnXLg==
but I should get:
H6cr2yN8oWUVY3a6/Vaaow==
BTW I get
You are right Viktor, that was my problem.
Thank you very much for your help Viktor and Michael.
2015-11-24 18:00 GMT+01:00 Viktor Dukhovni :
> On Tue, Nov 24, 2015 at 05:55:42PM +0100, David García wrote:
>
> > openssl enc -e -des-ede3-cbc -in myfile.txt -k
> > 'b2aec78eb50e05f2a60b9efa20b82c90
On Tue, Nov 24, 2015 at 05:55:42PM +0100, David García wrote:
> openssl enc -e -des-ede3-cbc -in myfile.txt -k
> 'b2aec78eb50e05f2a60b9efa20b82c903e6cad4f3bd2027b' -iv -nosalt |
> openssl enc -base64
Please read Michael's message carefully. Note the comment about
"-k" vs. "-K" (upper-ca
I am sorry, I pasted an invalid key I was playing with to check some other
things. Next, the real key and now reading the value from a file instead
from echo (BTW I am using a linux terminal):
openssl enc -e -des-ede3-cbc -in myfile.txt -k
'b2aec78eb50e05f2a60b9efa20b82c903e6cad4f3bd2027b' -iv 000
> echo 'text_to_cypher' | openssl enc -e -des-ede3-cbc -k
> 'b2aec78eb50e04f2a60b9efa20b82c903e3cad4f3bd2027g' -iv -nosalt |
> openssl enc -base64
That echo command will append a LF (x'0a') byte (if this is a conventional UNIX
or Linux system, or Cygwin, etc, and you're running under
Hi,
I am trying to use openssl command line tool for des-ede3-cbc encryption,
but it does not mach with the one I have in Java (and that I know that
works ok). I try to generate a des-ede3-cbc encryption with an IV =
0,0,0,0,0,0,0,0. Then I launch following command:
echo 'text_to_cypher' | opens
Hi Matt,Here is an excerpt of openssl asn1parse
3588:d=5
hl=4 l=4940 cons: cont [ 1 ]
3592:d=6 hl=4 l=4936 cons: SEQUENCE
3596:d=7 hl=2 l= 10 prim: OBJECT :1.3.6.1.4.1.311.3.3.1
3608:
On 24/11/15 05:17, Leena Soman wrote:
> Hello,
> I am trying to verify the timestamp in a file signed using Authenticode.
> I have found that this timestamp is in the RFC3161 format.
> Using openssl apis, I have parsed the Authenticode signature and reached
> the oid 1.3.6.1.4.1.311.3.3.1. I have
12 matches
Mail list logo