Local fork of Henryk Ploetz' smardcard shell
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cyberflex-shell/tlvdecoder.py

9 lines
209 B

#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
from TLV_utils import *
import binascii, sys
if __name__ == "__main__":
a = binascii.unhexlify("".join( sys.stdin.read().split() ))
print decode(a)