update tools
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 31 May 2012 03:10:08 +0000 (12:10 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 31 May 2012 03:10:08 +0000 (12:10 +0900)
tool/gnuk_put_binary.py
tool/gnuk_put_binary_libusb.py

index 217d818..3446b62 100755 (executable)
@@ -168,7 +168,7 @@ if __name__ == '__main__':
         print "Writing serial number"
         data = binascii.unhexlify(serial_data_hex)
     else:
-        fileid = 1              # Card holder certificate
+        fileid = 5              # Card holder certificate
         filename = sys.argv[1]
         f = open(filename)
         data = f.read()
index 8ed42e0..a6bb0e3 100755 (executable)
@@ -271,7 +271,7 @@ if __name__ == '__main__':
         print "Writing serial number"
         data = binascii.unhexlify(serial_data_hex)
     else:
-        fileid = 1              # Card holder certificate
+        fileid = 5              # Card holder certificate
         filename = sys.argv[1]
         f = open(filename)
         data = f.read()