Proof of concept for having a containerized process for verifying signed documents from eID holders.
It's really just a Dockerfile right now.
Uses https://github.com/open-eid/libdigidocpp under the hood, which is maintained by Estonia
Now contains a web server that passes through to the command line.
NOTE: This is a proof of concept and how the file downloading is handled is not ideal.S
Will update docs...
docker build --tag estoniaodao-verify:0.3 .
docker run -it --name ee1 estoniaodao-verify:0.3 /bin/bash
/usr/local/bin/digidoc-tool open container-file.asice --extractAll
You can get a file to open from IPFS by downloading via curl like so:
curl https://url -o file.name
docker run -p 127.0.0.1:8080:8080/tcp --name ee1 estoniaodao-verify:0.3
- Lots of things!
- Optimize Dockerfile layers