You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crypto Digidoc, encrypted file transmission format used in the [Estonian eID](https://github.com/open-eid) ecosystem
5
+
CDOC stands for 'Crypto Digidoc', encrypted file transmission format used in the [Estonian eID](https://github.com/open-eid) ecosystem
6
6
7
7
CDOC2 is a new version of [CDOC](https://www.id.ee/wp-content/uploads/2020/06/sk-cdoc-1.0-20120625_en.pdf) (CDOC lib [cdoc4j](https://github.com/open-eid/cdoc4j)), featuring additional security
8
8
measures with optional server backend. CDOC version are not compatible.
9
9
Additional background info can be found in [why CDOC2](https://www.youtube.com/watch?v=otrO2A6TuGQ).
10
10
11
+
End-user software to create/decrypt CDOC2: https://github.com/open-eid/DigiDoc4-Client
12
+
13
+
## Implemented scenarios
14
+
11
15
**Warning**: Following scenario descriptions are simplification to give general idea, details and **final truth is in
@@ -183,6 +188,8 @@ So defining any Maven package repo from `open-eid` is enough for pulling cdoc2-*
183
188
All packages published under `open-eid` can be found https://github.com/orgs/open-eid/packages
184
189
185
190
## Building
191
+
[](https://github.com/open-eid/cdoc2-java-ref-impl/actions/workflows/maven.yml)
192
+
186
193
CDOC2 has been tested with JDK 17 and Maven 3.8.8
187
194
188
195
```
@@ -217,6 +224,11 @@ mvn test -Dtests=pkcs11 -Dcdoc2.pkcs11.conf-file=pkcs11-test-safenet.properties
217
224
218
225
By default, the pkcs11 configuration is read from the file `pkcs11-test-idcard.properties`.
219
226
227
+
### Bats tests
228
+
229
+
Additional tests using [Bats](https://github.com/bats-core/bats-core) and `cdoc2-cli`.
230
+
Refer [test/README.md](test/README.md)
231
+
220
232
### Entropy
221
233
In case the tests run slowly (probably due to waiting on entropy generation),
222
234
using an entropy source (e.g `haveged`) may help on Linux:
0 commit comments