[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pkinit with smartcard
i checked out a version from the anon cvs today just a few hours ago.
i'm running pkinit with a smartcard and getting a seg fault (with dh and
rsa pkinit). am i missing something obvious? i was using the code from a
while back the code was not seg faulting.
[aglo@yoga pkinit]$ /usr/heimdal/bin/kinit --pk-use-enckey -C
PKCS11:/usr/lib/opensc-pkcs11.so aglo@HEIMDAL.CITI.UMICH.EDU
PIN code for Schlumberger E-Gate:
Segmentation fault
(gdb) where
#0 0x002a28b5 in der_heim_oid_cmp (p=0x2f109c, q=0x0) at der_cmp.c:39
#1 0x0024e7d1 in find_sig_alg (oid=0x0) at crypto.c:836
#2 0x0024e808 in find_keytype (key=Variable "key" is not available.
) at crypto.c:2086
#3 0x0024f53b in hx509_crypto_select (context=0x95462f8, type=1,
source=0x9556028, peer=0x0, selected=0xbf864628) at crypto.c:2120
#4 0x0024c0d8 in hx509_cms_create_signed_1 (context=0x95462f8,
eContentType=0x2f130c, data=0x95572a8, length=186, digest_alg=0x0,
cert=0x9556ff0, peer=0x0, anchors=0x0, pool=0x9548350,
signed_data=0xbf864790) at cms.c:983
#5 0x0084c8d7 in _krb5_pk_mk_padata (context=0x9545008, c=0x95462c8,
req_body=0xbf86aa88, nonce=3807435936, md=0x95560f0) at pkinit.c:172
#6 0x0083c804 in krb5_get_init_creds (context=0x9545008, creds=0xbf86cde4,
client=0x9545268, prompter=0x8049510, data=0x0, start_time=0,
in_tkt_service=0x0, options=0x9557038) at init_creds_pw.c:1026
#7 0x0083d579 in krb5_get_init_creds_password (context=0x9545008,
creds=0xbf86cde4, client=0x9545268, password=0xbf86cce4 "",
prompter=0x8049510, data=0x0, start_time=0, in_tkt_service=0x0,
in_options=0x95452c8) at init_creds_pw.c:1524
#8 0x0804a4d4 in get_new_tickets (context=0x9545008, principal=0x9545268,
ccache=0x9546290, ticket_life=0, interactive=1) at kinit.c:591
#9 0x0804b327 in main (argc=7, argv=0x2f24d4) at kinit.c:892