summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth.h b/auth.h
index c407ad5..580e5b6 100644
--- a/auth.h
+++ b/auth.h
@@ -96,6 +96,10 @@ struct AuthState {
};
+/* Sources for signing keys */
+#define SIGNKEY_SOURCE_RAW_FILE 1
+#define SIGNKEY_SOURCE_AGENT 21
+
struct SignKeyList;
/* A singly linked list of signing keys */
struct SignKeyList {
@@ -103,6 +107,7 @@ struct SignKeyList {
sign_key *key;
int type; /* The type of key */
struct SignKeyList *next;
+ int source;
/* filename? or the buffer? for encrypted keys, so we can later get
* the private key portion */