diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-12-13 19:11:14 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-12-14 07:20:28 +1100 |
commit | 611073fb40ecaf4ac65094e403edea3a08deb700 (patch) | |
tree | 5a7f0d7e4bd49f3326dd9eba6913f880e18632be /sshkey.h | |
parent | 612b1dd1ec91ffb1e01f58cca0c6eb1d47bf4423 (diff) | |
download | openssh-git-611073fb40ecaf4ac65094e403edea3a08deb700.tar.gz |
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.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: sshkey.h,v 1.41 2019/12/13 19:09:10 djm Exp $ */ +/* $OpenBSD: sshkey.h,v 1.42 2019/12/13 19:11:14 djm Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -52,7 +52,11 @@ #define SSH_KEY_MAX_SIGN_DATA_SIZE (1 << 20) /* Version of protocol expected from ssh-sk-helper */ -#define SSH_SK_HELPER_VERSION 1 +#define SSH_SK_HELPER_VERSION 2 + +/* ssh-sk-helper messages */ +#define SSH_SK_HELPER_SIGN 1 +#define SSH_SK_HELPER_ENROLL 2 struct sshbuf; |