diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-04-28 04:02:29 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-05-01 13:13:29 +1000 |
commit | 59d2de956ed29aa5565ed5e5947a7abdb27ac013 (patch) | |
tree | 983def72c15590c50a0319c8048b9a7d56961edf /sk-api.h | |
parent | c9d10dbc0ccfb1c7568bbb784f7aeb7a0b5ded12 (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |