Skip to content

Commit 15f2b84

Browse files
committed
Remove vendor command for toggling auv, since it is already in the spec.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
1 parent f887845 commit 15f2b84

3 files changed

Lines changed: 1 addition & 6 deletions

File tree

src/fido/cbor_config.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@ int cbor_config(const uint8_t *data, size_t len) {
211211
else if (vendorCommandId == CTAP_CONFIG_NORK) {
212212
set_opts(get_opts() ^ FIDO2_OPT_NORK);
213213
}
214-
else if (vendorCommandId == CTAP_CONFIG_AUV) {
215-
set_opts(get_opts() ^ FIDO2_OPT_AUV);
216-
}
217214
else if (vendorCommandId == CTAP_CONFIG_MCUV_NOTRQD) {
218215
set_opts(get_opts() ^ FIDO2_OPT_MCUV_NOTRQD);
219216
}

src/fido/cbor_get_info.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ int cbor_get_info(void) {
219219
if (phy_data.vid != 0x1050) {
220220
#endif
221221
CBOR_CHECK(cbor_encode_uint(&mapEncoder, 0x15));
222-
uint8_t enabled_cmds = 7;
222+
uint8_t enabled_cmds = 6;
223223
#ifndef ENABLE_EMULATION
224224
enabled_cmds += 4;
225225
#endif
@@ -229,7 +229,6 @@ int cbor_get_info(void) {
229229
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_MCUV_NOTRQD));
230230
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_AUT_ENABLE));
231231
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_NORK));
232-
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_AUV));
233232
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_PIN_POLICY));
234233
#ifndef ENABLE_EMULATION
235234
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_PHY_LED_BTNESS));

src/fido/ctap.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ typedef struct {
117117
#define CTAP_CONFIG_MCUV_NOTRQD 0x000377913e17951f
118118
#define CTAP_CONFIG_AUT_ENABLE 0x00043f56b34285e2
119119
#define CTAP_CONFIG_NORK 0x00052b41f53590d3
120-
#define CTAP_CONFIG_AUV 0x0007591b9e081ab8
121120
#define CTAP_CONFIG_PIN_POLICY 0x0007d70fe96c3897
122121
#ifndef ENABLE_EMULATION
123122
#define CTAP_CONFIG_PHY_LED_BTNESS 0x00185945985d02fd

0 commit comments

Comments
 (0)