remove un-used recipes
This commit is contained in:
parent
eb4a29edc6
commit
d402df42e2
25
Makefile
25
Makefile
@ -34,13 +34,7 @@ CFLAGS += -DAES256=1
|
|||||||
name = main
|
name = main
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: python-fido2 main
|
all: main
|
||||||
|
|
||||||
.PHONY: test
|
|
||||||
test:
|
|
||||||
$(MAKE) -C . main
|
|
||||||
$(MAKE) -C . testgcm
|
|
||||||
./testgcm
|
|
||||||
|
|
||||||
tinycbor/Makefile crypto/tiny-AES-c/aes.c:
|
tinycbor/Makefile crypto/tiny-AES-c/aes.c:
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
@ -51,6 +45,9 @@ cbor: $(LIBCBOR)
|
|||||||
$(LIBCBOR): tinycbor/Makefile
|
$(LIBCBOR): tinycbor/Makefile
|
||||||
cd tinycbor/ && $(MAKE) clean && $(MAKE) -j8
|
cd tinycbor/ && $(MAKE) clean && $(MAKE) -j8
|
||||||
|
|
||||||
|
test:
|
||||||
|
$(MAKE) -C . main
|
||||||
|
|
||||||
.PHONY: efm8prog
|
.PHONY: efm8prog
|
||||||
efm8prog:
|
efm8prog:
|
||||||
cd './targets/efm8\Keil 8051 v9.53 - Debug' && $(MAKE) all
|
cd './targets/efm8\Keil 8051 v9.53 - Debug' && $(MAKE) all
|
||||||
@ -70,13 +67,6 @@ efm32bootprog: efm32com
|
|||||||
$(name): $(obj) $(LIBCBOR)
|
$(name): $(obj) $(LIBCBOR)
|
||||||
$(CC) $(LDFLAGS) -o $@ $(obj) $(LDFLAGS)
|
$(CC) $(LDFLAGS) -o $@ $(obj) $(LDFLAGS)
|
||||||
|
|
||||||
crypto/aes-gcm/aes_gcm.o:
|
|
||||||
$(CC) -c crypto/aes-gcm/aes_gcm.c $(CFLAGS) -DTEST -o crypto/aes-gcm/aes_gcm.o
|
|
||||||
|
|
||||||
testgcm: $(obj) $(LIBCBOR) crypto/aes-gcm/aes_gcm.o
|
|
||||||
$(CC) -c fido2/main.c $(CFLAGS) -DTEST -o fido2/main.o
|
|
||||||
$(CC) $(LDFLAGS) -o $@ $^ $(LDFLAGS)
|
|
||||||
|
|
||||||
uECC.o: ./crypto/micro-ecc/uECC.c
|
uECC.o: ./crypto/micro-ecc/uECC.c
|
||||||
$(CC) -c -o $@ $^ -O2 -fdata-sections -ffunction-sections -DuECC_PLATFORM=$(platform) -I./crypto/micro-ecc/
|
$(CC) -c -o $@ $^ -O2 -fdata-sections -ffunction-sections -DuECC_PLATFORM=$(platform) -I./crypto/micro-ecc/
|
||||||
|
|
||||||
@ -94,10 +84,6 @@ venv:
|
|||||||
virtualenv venv
|
virtualenv venv
|
||||||
./venv/bin/pip install wheel
|
./venv/bin/pip install wheel
|
||||||
|
|
||||||
.PHONY: python-fido2
|
|
||||||
python-fido2: venv
|
|
||||||
cd python-fido2/ && ../venv/bin/python setup.py install
|
|
||||||
|
|
||||||
venv/bin/mkdocs: venv
|
venv/bin/mkdocs: venv
|
||||||
./venv/bin/pip install mkdocs mkdocs-material
|
./venv/bin/pip install mkdocs mkdocs-material
|
||||||
|
|
||||||
@ -110,10 +96,9 @@ fido2-test:
|
|||||||
./venv/bin/python tools/ctap_test.py
|
./venv/bin/python tools/ctap_test.py
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o main.exe main testgcm $(obj)
|
rm -f *.o main.exe main $(obj)
|
||||||
for f in crypto/tiny-AES-c/Makefile tinycbor/Makefile ; do \
|
for f in crypto/tiny-AES-c/Makefile tinycbor/Makefile ; do \
|
||||||
if [ -f "$$f" ]; then \
|
if [ -f "$$f" ]; then \
|
||||||
(cd `dirname $$f` ; git checkout -- .) ;\
|
(cd `dirname $$f` ; git checkout -- .) ;\
|
||||||
fi ;\
|
fi ;\
|
||||||
done
|
done
|
||||||
rm -rf venv
|
|
||||||
|
10
README.md
10
README.md
@ -43,8 +43,6 @@ us by [signing up for our Kickstarter](https://solokeys.com/kickstarter). Our a
|
|||||||
bulk order and provide open source security tokens for everyone that is interested. We will offer
|
bulk order and provide open source security tokens for everyone that is interested. We will offer
|
||||||
"hackable" tokens that come with USB bootloaders and are reprogrammable.
|
"hackable" tokens that come with USB bootloaders and are reprogrammable.
|
||||||
|
|
||||||
[Sign up here](https://solokeys.com/kickstarter)!
|
|
||||||
|
|
||||||
|
|
||||||
# Setting up
|
# Setting up
|
||||||
|
|
||||||
@ -53,10 +51,8 @@ Clone solo and build it
|
|||||||
```bash
|
```bash
|
||||||
git clone --recurse-submodules https://github.com/SoloKeysSec/solo
|
git clone --recurse-submodules https://github.com/SoloKeysSec/solo
|
||||||
cd solo/
|
cd solo/
|
||||||
|
|
||||||
git submodules init
|
git submodules init
|
||||||
git submodules update
|
git submodules update
|
||||||
|
|
||||||
make all
|
make all
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -85,13 +81,13 @@ Run FIDO 2 / U2F application.
|
|||||||
Run example client software. This runs through a registration and authentication.
|
Run example client software. This runs through a registration and authentication.
|
||||||
|
|
||||||
```
|
```
|
||||||
./venv/bin/python python-fido2/examples/credential.py
|
python python-fido2/examples/credential.py
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the FIDO2 tests.
|
Run our FIDO2 tests.
|
||||||
|
|
||||||
```
|
```
|
||||||
make fido2-test
|
python tools/ctap_test.py
|
||||||
```
|
```
|
||||||
|
|
||||||
Follow specifications to really dig in.
|
Follow specifications to really dig in.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user