Re: [Openca-Users] Question about PIN

2008-11-19 Thread lampa
It work! I am very appreciate for you. I do't know why do this way . but may be just a approach for security reason. :clap: lampa -- View this message in context: http://www.nabble.com/Question-about-PIN-tp20536999p20577186.html Sent from the openca-users mailing list archive at Nabble.com.

Re: [Openca-Users] Question about PIN

2008-11-19 Thread Alexander Klink
Hi Lampa, On Wed, Nov 19, 2008 at 02:09:16AM -0800, lampa wrote: > At first, I really thank you very much! You're welcome. > Now, the question is that what string exactly is hashed by the above code. The string "lampa\x00exit\n". > Because the hash value of the String "lampa" is > "34f188585ef

Re: [Openca-Users] Question about PIN

2008-11-19 Thread lampa
At first, I really thank you very much! I write a test demo like this: #!/usr/bin/perl -w use strict; my $open ="|"."/usr/local/bin/openssl".">/usr/local/Perl_test/stdout.log"; my $OPENSSL; open $OPENSSL ,$open ; print {$OPENSSL} "dgst -sha1 \n"; print {$OPENSSL} "lampa\x00"; print {$OPENS

Re: [Openca-Users] Question about PIN

2008-11-19 Thread Alexander Klink
Hi Lampa, On Tue, Nov 18, 2008 at 06:39:59PM -0800, lampa wrote: > I am so puzzled about generating of PIN hash value.

Re: [Openca-Users] Question about PIN

2008-11-19 Thread lampa
So puzzled and sad . I am try to find the answer for 2 days ,But still no answer. Please give me some hits ,and any words is welcome! :,( -- View this message in context: http://www.nabble.com/Question-about-PIN-tp20536999p20576167.html Sent from the openca-users mailing list archive at Nabbl

Re: [Openca-Users] Question about PIN

2008-11-18 Thread lampa
I am so puzzled about generating of PIN hash value. I find the code like this: open $OPENSSL ,$open ; print {$OPENSSL} "dgst -sha1\n"; print {$OPENSSL} "lampa\x00"; print {$OPENSSL} "exit\n"; close $OPENSSL ; But, the value hashed by above code is different from the value hashed by command "op