summaryrefslogtreecommitdiff
path: root/sshkey.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-12-13 19:11:14 +0000
committerDamien Miller <djm@mindrot.org>2019-12-14 07:20:28 +1100
commit611073fb40ecaf4ac65094e403edea3a08deb700 (patch)
tree5a7f0d7e4bd49f3326dd9eba6913f880e18632be /sshkey.h
parent612b1dd1ec91ffb1e01f58cca0c6eb1d47bf4423 (diff)
upstream: perform security key enrollment via ssh-sk-helper too.
This means that ssh-keygen no longer needs to link against ssh-sk-helper, and only ssh-sk-helper needs libfido2 and /dev/uhid* access; feedback & ok markus@ OpenBSD-Commit-ID: 9464233fab95708d2ff059f8bee29c0d1f270800
Diffstat (limited to 'sshkey.h')
-rw-r--r--sshkey.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sshkey.h b/sshkey.h
index d96dcb8b0..21ac802dc 100644
--- a/sshkey.h
+++ b/sshkey.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshkey.h,v 1.41 2019/12/13 19:09:10 djm Exp $ */ 1/* $OpenBSD: sshkey.h,v 1.42 2019/12/13 19:11:14 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -52,7 +52,11 @@
52#define SSH_KEY_MAX_SIGN_DATA_SIZE (1 << 20) 52#define SSH_KEY_MAX_SIGN_DATA_SIZE (1 << 20)
53 53
54/* Version of protocol expected from ssh-sk-helper */ 54/* Version of protocol expected from ssh-sk-helper */
55#define SSH_SK_HELPER_VERSION 1 55#define SSH_SK_HELPER_VERSION 2
56
57/* ssh-sk-helper messages */
58#define SSH_SK_HELPER_SIGN 1
59#define SSH_SK_HELPER_ENROLL 2
56 60
57struct sshbuf; 61struct sshbuf;
58 62