OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Jim Rees (rees_at_umich.edu)
Date: Fri Jul 12 2002 - 09:18:31 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    You do not have to update the public key file or reverse bytes. You do need
    to prepend the proper key header, as described in the Cyberflex SDK manual.
    In my copy of the SDK release 2 Programmer's manual, it's on page 289,
    "Private RSA Key - CRT." The key can be either exponent/modulus or CRT.

    There is working sample code in OpenBSD's libsectok. See
    cyberflex_load_rsa_priv() in cyberflex.c. On the web, it's at
    http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libsectok/cyberflex.c
    ***************************************************************
    Unix Smart Card Developers - M.U.S.C.L.E.
    (Movement for the Use of Smart Cards in a Linux Environment)
    http://www.linuxnet.com/
    To unsubscribe send an email to majordomolinuxnet.com with
    unsubscribe sclinux
    ***************************************************************