diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2019-10-31 21:19:16 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2019-10-31 21:19:16 +0000 |
commit | 2d57ef57ac1cbb660d991d83667d939f2e2d909e (patch) | |
tree | 32ebdce58320a3c8b81215532a14b3a4eb8752e0 /usr.bin/ssh/authfd.h | |
parent | 11c64ae5f11e396027c03eaabd226f81e0f68fdc (diff) |
add new agent key constraint for U2F/FIDO provider
feedback & ok markus@
Diffstat (limited to 'usr.bin/ssh/authfd.h')
-rw-r--r-- | usr.bin/ssh/authfd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ssh/authfd.h b/usr.bin/ssh/authfd.h index 57907650480..443771a000c 100644 --- a/usr.bin/ssh/authfd.h +++ b/usr.bin/ssh/authfd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: authfd.h,v 1.46 2019/09/03 08:29:15 djm Exp $ */ +/* $OpenBSD: authfd.h,v 1.47 2019/10/31 21:19:15 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -30,7 +30,8 @@ int ssh_lock_agent(int sock, int lock, const char *password); int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp); void ssh_free_identitylist(struct ssh_identitylist *idl); int ssh_add_identity_constrained(int sock, struct sshkey *key, - const char *comment, u_int life, u_int confirm, u_int maxsign); + const char *comment, u_int life, u_int confirm, u_int maxsign, + const char *provider); int ssh_agent_has_key(int sock, struct sshkey *key); int ssh_remove_identity(int sock, struct sshkey *key); int ssh_update_card(int sock, int add, const char *reader_id, @@ -77,6 +78,7 @@ int ssh_agent_sign(int sock, const struct sshkey *key, #define SSH_AGENT_CONSTRAIN_LIFETIME 1 #define SSH_AGENT_CONSTRAIN_CONFIRM 2 #define SSH_AGENT_CONSTRAIN_MAXSIGN 3 +#define SSH_AGENT_CONSTRAIN_EXTENSION 255 /* extended failure messages */ #define SSH2_AGENT_FAILURE 30 |