FreeCalypso > hg > fc-pcsc-tools
view misc/Makefile @ 74:8562d8508cf2
grcard2-set-{adm,super}-hex commands implemented
It appears that GrcardSIM2 cards allow arbitrary 64-bit keys
for ADM and SUPER ADM, not necessarily consisting of ASCII digits
like the specs require for standard PIN and PUK, and pySim-prog.py
in fact sets the ADM key to 4444444444444444 in hex by default,
which is not an ASCII digit string. If the cards allow such keys,
we need to support them too.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Tue, 16 Feb 2021 04:10:36 +0000 |
| parents | be9984600bf8 |
| children | f064dbcc5f41 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon PROGS= fc-pcsc-atr fc-pcsc-list LIBS= ../libcommon/libcommon.a INSTBIN=/opt/freecalypso/bin all: ${PROGS} fc-pcsc-atr: fc-pcsc-atr.o ${LIBS} ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lpcsclite fc-pcsc-list: fc-pcsc-list.o ${LIBS} ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lpcsclite install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f ${PROGS} *.o
