FreeCalypso > hg > fc-pcsc-tools
view simtool/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 | 3ef90bd13fbe |
| children | 07e395fddfe1 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 -I/usr/include/PCSC -I../libcommon PROG= fc-simtool OBJS= a38.o chv.o chvext.o curfile.o dispatch.o dumpdir.o grcard1.o grcard2.o\ hlread.o main.o miscadm.o opldump.o pbcommon.o pbdump.o pberase.o \ pbupd_file.o pbupd_imm.o pbupd_immhex.o plmnsel.o pnndump.o readcmd.o \ readops.o restorebin.o savebin.o script.o select.o smserase.o \ smsp_common.o smsp_dump.o smsp_erase.o smsp_restore.o smsp_set.o \ sstlist.o sysmo.o telsum.o usersum.o writecmd.o writeops.o LIBS= ../libcommon/libcommon.a INSTBIN=/opt/freecalypso/bin all: ${PROG} ${PROG}: ${OBJS} ${LIBS} ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lpcsclite install: mkdir -p ${INSTBIN} install -c ${PROG} ${INSTBIN} clean: rm -f ${PROG} *.o
