This updates the test suite to use Spruce's Rust/ssi implementation (#14, #25) to verify RSA VCs/VPs. This enables the RSA VCs/VPs to be verified and show in the report as such, since the main verifier implementation (Transmute's) doesn't have support for them currently.
A helper script is added to run Spruce's CLI verify function from JS. This slows down running generate.js a bit, since running a new Docker command for each operation is slow. To improve this, the implementation could be built on the host system rather than in Docker and then copy the binary into the Docker image - like how Transmute's implementation does it. The helper script could also be generalized to work with other implementations. It depends on making the --input (-i) and --output (-o) options optional, defaulting to standard input/output respectively (Alternatively temp files could be used.)
This updates the test suite to use Spruce's Rust/ssi implementation (#14, #25) to verify RSA VCs/VPs. This enables the RSA VCs/VPs to be verified and show in the report as such, since the main verifier implementation (Transmute's) doesn't have support for them currently.
A helper script is added to run Spruce's CLI verify function from JS. This slows down running
generate.js
a bit, since running a new Docker command for each operation is slow. To improve this, the implementation could be built on the host system rather than in Docker and then copy the binary into the Docker image - like how Transmute's implementation does it. The helper script could also be generalized to work with other implementations. It depends on making the--input (-i)
and--output (-o)
options optional, defaulting to standard input/output respectively (Alternatively temp files could be used.)