summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshkey.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-12-30 09:23:29 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-12-30 09:23:29 +0000
commitcb0eb2c4e629aef124ef30b71d4d1283f7db9de7 (patch)
tree68b90a8f3b7bb40ac78a6825493b849e7fdf87b6 /usr.bin/ssh/sshkey.h
parent554931af48f9a618f06af6de49f1478d79c7b5af (diff)
SK API and sk-helper error/PIN passing
Allow passing a PIN via the SK API (API major crank) and let the ssh-sk-helper API follow. Also enhance the ssh-sk-helper API to support passing back an error code instead of a complete reply. Will be used to signal "wrong PIN", etc. feedback and ok markus@
Diffstat (limited to 'usr.bin/ssh/sshkey.h')
-rw-r--r--usr.bin/ssh/sshkey.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/ssh/sshkey.h b/usr.bin/ssh/sshkey.h
index baf4a4cf80c..9ff5b102ec2 100644
--- a/usr.bin/ssh/sshkey.h
+++ b/usr.bin/ssh/sshkey.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshkey.h,v 1.43 2019/12/30 09:21:59 djm Exp $ */
+/* $OpenBSD: sshkey.h,v 1.44 2019/12/30 09:23:28 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -45,14 +45,6 @@
#define SSH_RSA_MINIMUM_MODULUS_SIZE 1024
#define SSH_KEY_MAX_SIGN_DATA_SIZE (1 << 20)
-/* Version of protocol expected from ssh-sk-helper */
-#define SSH_SK_HELPER_VERSION 2
-
-/* ssh-sk-helper messages */
-#define SSH_SK_HELPER_SIGN 1
-#define SSH_SK_HELPER_ENROLL 2
-#define SSH_SK_HELPER_LOAD_RESIDENT 3
-
struct sshbuf;
/* Key types */