feat(pki): extend the sshsig API to support security keys along with tests

Signed-off-by: Praneeth Sarode <praneethsarode@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Eshan Kelkar <eshankelkar@galorithm.com>
This commit is contained in:
Praneeth Sarode
2025-10-30 22:37:22 +05:30
parent 6e5d0a935f
commit 5bbaecfaa7
3 changed files with 313 additions and 16 deletions

View File

@@ -912,6 +912,7 @@ enum sshsig_digest_e {
LIBSSH_API int sshsig_sign(const void *data,
size_t data_length,
ssh_key privkey,
ssh_pki_ctx pki_context,
const char *sig_namespace,
enum sshsig_digest_e hash_alg,
char **signature);