String Signing with FileInput does not work
f11h opened this issue · 0 comments
f11h commented
Describe the bug
Signing a String which is saved in a file is not possible with latest version of dgc-cli.
Expected behaviour
String in a file (e.g. example.json) should be loaded properly and signed.
Steps to reproduce the issue
Sign string in file with
dgc signing sign-string -c cert.pem -k key.pem -i example.json -o signed.cms
Will result in java.lang.RuntimeException: Message Builder is not ready
Possible Fix
Bug was introduced with 8192c9a
Additional context
Still works in 0.6.2