pkinit for heimdal

This work is based on the patch from METACentrum by Petr Holub and Daniel Kouril.

How to build and setup

PK-INIT is now enabled by default in the current snapshots. Please use OpenSSL 0.9.8a or later, its faster then the internal libhcrypto.

Example

: lha@nutcracker ; kinit -C FILE:/secure/lha/l.nxs.se/CA/lha.crt,/secure/lha/l.nxs.se/CA/lha.key lha@N.L.NXS.SE
Enter your private key passphrase: 
: lha@nutcracker ; ./kinit -C PKCS11:/tmp/pkcs11/lib/soft-pkcs11.so lha@N.L.NXS.SE
PIN code for SoftToken (slot): 
: lha@nutcracker ; klist
Credentials cache: FILE:/tmp/krb5cc_19100a
        Principal: lha@N.L.NXS.SE

  Issued           Expires          Principal                 
Apr 20 02:08:08  Apr 20 12:08:08  krbtgt/N.L.NXS.SE@N.L.NXS.SE


Stuff that you might find useful