=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshsig.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/ssh/sshsig.h 2019/11/25 00:51:37 1.5 +++ src/usr.bin/ssh/sshsig.h 2020/01/23 04:54:34 1.6 @@ -92,4 +92,14 @@ /* Free signature options */ void sshsigopt_free(struct sshsigopt *opts); +/* Get public key from signature */ +int +sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey); + +/* Find principal in allowed_keys file, given a sshkey. Returns + * 0 on success. + */ +int sshsig_find_principal(const char *path, const struct sshkey *sign_key, + char **principal); + #endif /* SSHSIG_H */