Hello Oliver,

Thanks for your answer.

I tryed using openca-digest too, but the output is
different from the PIN stored in the db, so my new
question is: how is this PIN generated? in the
"certificate" table in "data" field thereis a PIN, I
thinks that is the only parameter OpenCA uses to check
the CRIN, so I'm trying to use it too but that PIN
also is different to the output of openca-digest
command:

openca-digest sha1 TMS8hU+b8oPhoYS55b/NaQ
Digest: SHA1
String: TMS8hU+b8oPhoYS55b/NaQ
SHA1:   22H4PuGSCLvJdrqWhbT2hu/SIBg

and the cert  PIN in DB is:
PIN=5e86d229d29e4f856f9b798cad5fe007808c6afc

I don't know what to do :-(

Thanks again,
Johnny

PS: I converted the output of the command to
hexadecimal, but it is still different:
3232483450754753434c764a647271576862543268752f53494267

 --- Oliver Welter <[EMAIL PROTECTED]> escribió:

> Hi Johnny,
> 
> there is a binary openca-digest that is used for
> creating the hashes. 
> They differ in some padding issues to the openssl
> commands so they arent 
> the same.
> 
> Oliver
> 
> -- 
> Diese Nachricht wurde digital unterschrieben
> oliwel's public key: http://www.oliwel.de/oliwel.crt
> Basiszertifikat: http://www.ldv.ei.tum.de/page72
> 



                
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to