Changeset 176

Show
Ignore:
Timestamp:
11/16/09 10:21:56 (9 months ago)
Author:
lrousseau
Message:

remove trailing whitespace

Files:

Legend:

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

    r175 r176  
    2626# Submitter: Sebastien Keim (other recipes) 
    2727# Last Updated: 2002/08/05 
    28 # Version no: 1.0  
     28# Version no: 1.0 
    2929 
    3030FILTER=''.join([(len(repr(chr(x)))==3) and chr(x) or '.' for x in range(256)]) 
     
    7979    elif o in ("-d", "--decrypt"): 
    8080        decrypt = True 
    81          
     81 
    8282red = blue = magenta = normal = "" 
    8383if sys.stdout.isatty() and platform.system().lower() != 'windows': 
     
    152152                        toSign="12345678901234567890" # 20 bytes, SHA1 digest 
    153153                        print "* Signing with object 0x%08X following data: %s" % (o.value(), toSign) 
    154                         signature = session.sign(o, toSign)  
     154                        signature = session.sign(o, toSign) 
    155155                        s = ''.join(chr(c) for c in signature).encode('hex') 
    156156                        sx = eval('0x%s' % s) 
     
    196196                    else: 
    197197                        print "ERROR: Private key don't have MODULUS/PUBLIC_EXP" 
    198                      
     198 
    199199            print "Dumping attributes:" 
    200200            for q, a in zip(all_attributes, attributes): 
(C) 2006 bit4id srl, for informations please contact info@bit4id.com
visitors since August 21, 2006