Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PoC: Add new command for signing a file
It has the following syntax: solo key sign-file <cred_id> <filename> It computes SHA256 hash of the specified file and then signs the hash with the key that corresponds to the given credentialId. The result is DER encoded ECDSA signature which is saved to "<filename>.sig".
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters