summaryrefslogtreecommitdiff
path: root/sk-api.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-04-28 04:02:29 +0000
committerDamien Miller <djm@mindrot.org>2020-05-01 13:13:29 +1000
commit59d2de956ed29aa5565ed5e5947a7abdb27ac013 (patch)
tree983def72c15590c50a0319c8048b9a7d56961edf /sk-api.h
parentc9d10dbc0ccfb1c7568bbb784f7aeb7a0b5ded12 (diff)
upstream: when signing a challenge using a FIDO toke, perform the
hashing in the middleware layer rather than in ssh code. This allows middlewares that call APIs that perform the hashing implicitly (including Microsoft's AFAIK). ok markus@ OpenBSD-Commit-ID: c9fc8630aba26c75d5016884932f08a5a237f37d
Diffstat (limited to 'sk-api.h')
-rw-r--r--sk-api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sk-api.h b/sk-api.h
index 170fd4470..1ecaa3537 100644
--- a/sk-api.h
+++ b/sk-api.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sk-api.h,v 1.8 2020/01/25 23:13:09 djm Exp $ */ 1/* $OpenBSD: sk-api.h,v 1.9 2020/04/28 04:02:29 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Google LLC 3 * Copyright (c) 2019 Google LLC
4 * 4 *
@@ -71,7 +71,7 @@ struct sk_option {
71 uint8_t required; 71 uint8_t required;
72}; 72};
73 73
74#define SSH_SK_VERSION_MAJOR 0x00040000 /* current API version */ 74#define SSH_SK_VERSION_MAJOR 0x00050000 /* current API version */
75#define SSH_SK_VERSION_MAJOR_MASK 0xffff0000 75#define SSH_SK_VERSION_MAJOR_MASK 0xffff0000
76 76
77/* Return the version of the middleware API */ 77/* Return the version of the middleware API */