Changeset 237

Show
Ignore:
Timestamp:
10/31/11 13:53:39 (2 years ago)
Author:
lrousseau
Message:

Enable pinpad using --pin=NULL

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pykcs11/trunk/samples/dumpit.py

    r220 r237  
    5353def usage(): 
    5454    print "Usage:", sys.argv[0], 
    55     print "[-p pin][--pin=pin]", 
     55    print "[-p pin][--pin=pin] (use --pin=NULL for pinpad)", 
    5656    print "[-c lib][--lib=lib]", 
    5757    print "[-S][--sign]", 
     
    7575    elif o in ("-p", "--pin"): 
    7676        pin = a 
     77        if pin == "NULL": 
     78            pin = None 
    7779        pin_available = True 
    7880    elif o in ("-c", "--lib"): 
(C) 2006 bit4id srl, for informations please contact info@bit4id.com
visitors since August 21, 2006