diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-12-13 19:09:10 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-12-14 07:17:44 +1100 |
commit | b52ec0ba3983859514aa7b57d6100fa9759fe696 (patch) | |
tree | 262c9a2ebc4e6972594f45ea75fc15e8ae3bfefb /sshkey.h | |
parent | c33d46868c3d88e04a92610cdb429094aeeb5847 (diff) |
upstream: use ssh-sk-helper for all security key signing operations
This extracts and refactors the client interface for ssh-sk-helper
from ssh-agent and generalises it for use by the other programs.
This means that most OpenSSH tools no longer need to link against
libfido2 or directly interact with /dev/uhid*
requested by, feedback and ok markus@
OpenBSD-Commit-ID: 1abcd3aea9a7460eccfbf8ca154cdfa62f1dc93f
Diffstat (limited to 'sshkey.h')
-rw-r--r-- | sshkey.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshkey.h,v 1.40 2019/11/25 00:51:37 djm Exp $ */ | 1 | /* $OpenBSD: sshkey.h,v 1.41 2019/12/13 19:09:10 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. |
@@ -51,6 +51,9 @@ | |||
51 | #define SSH_RSA_MINIMUM_MODULUS_SIZE 1024 | 51 | #define SSH_RSA_MINIMUM_MODULUS_SIZE 1024 |
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 */ | ||
55 | #define SSH_SK_HELPER_VERSION 1 | ||
56 | |||
54 | struct sshbuf; | 57 | struct sshbuf; |
55 | 58 | ||
56 | /* Key types */ | 59 | /* Key types */ |