summaryrefslogtreecommitdiff
path: root/authfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'authfd.h')
-rw-r--r--authfd.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/authfd.h b/authfd.h
index 579076504..c3bf6259a 100644
--- a/authfd.h
+++ b/authfd.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfd.h,v 1.46 2019/09/03 08:29:15 djm Exp $ */ 1/* $OpenBSD: authfd.h,v 1.48 2019/12/21 02:19:13 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -24,13 +24,15 @@ struct ssh_identitylist {
24}; 24};
25 25
26int ssh_get_authentication_socket(int *fdp); 26int ssh_get_authentication_socket(int *fdp);
27int ssh_get_authentication_socket_path(const char *authsocket, int *fdp);
27void ssh_close_authentication_socket(int sock); 28void ssh_close_authentication_socket(int sock);
28 29
29int ssh_lock_agent(int sock, int lock, const char *password); 30int ssh_lock_agent(int sock, int lock, const char *password);
30int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp); 31int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp);
31void ssh_free_identitylist(struct ssh_identitylist *idl); 32void ssh_free_identitylist(struct ssh_identitylist *idl);
32int ssh_add_identity_constrained(int sock, struct sshkey *key, 33int ssh_add_identity_constrained(int sock, struct sshkey *key,
33 const char *comment, u_int life, u_int confirm, u_int maxsign); 34 const char *comment, u_int life, u_int confirm, u_int maxsign,
35 const char *provider);
34int ssh_agent_has_key(int sock, struct sshkey *key); 36int ssh_agent_has_key(int sock, struct sshkey *key);
35int ssh_remove_identity(int sock, struct sshkey *key); 37int ssh_remove_identity(int sock, struct sshkey *key);
36int ssh_update_card(int sock, int add, const char *reader_id, 38int ssh_update_card(int sock, int add, const char *reader_id,
@@ -77,6 +79,7 @@ int ssh_agent_sign(int sock, const struct sshkey *key,
77#define SSH_AGENT_CONSTRAIN_LIFETIME 1 79#define SSH_AGENT_CONSTRAIN_LIFETIME 1
78#define SSH_AGENT_CONSTRAIN_CONFIRM 2 80#define SSH_AGENT_CONSTRAIN_CONFIRM 2
79#define SSH_AGENT_CONSTRAIN_MAXSIGN 3 81#define SSH_AGENT_CONSTRAIN_MAXSIGN 3
82#define SSH_AGENT_CONSTRAIN_EXTENSION 255
80 83
81/* extended failure messages */ 84/* extended failure messages */
82#define SSH2_AGENT_FAILURE 30 85#define SSH2_AGENT_FAILURE 30