Merge branch 'master' into mingxguo-fuzzing-mvp
This commit is contained in:
4
.github/workflows/reproducible.yml
vendored
4
.github/workflows/reproducible.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Comparing binary sizes
|
- name: Comparing binary sizes
|
||||||
if: always()
|
if: always()
|
||||||
run: git diff --no-index reproducible/reference_elf2tab_${{ matrix.os }}.txt reproducible/elf2tab.txt
|
run: git diff --no-index reproducible/reference_elf2tab_${{ matrix.os }}.txt reproducible/elf2tab.txt || true
|
||||||
- name: Comparing cryptographic hashes
|
- name: Comparing cryptographic hashes
|
||||||
if: always()
|
if: always()
|
||||||
run: git diff --no-index reproducible/reference_binaries_${{ matrix.os }}.sha256sum reproducible/binaries.sha256sum
|
run: git diff --no-index reproducible/reference_binaries_${{ matrix.os }}.sha256sum reproducible/binaries.sha256sum || true
|
||||||
|
|||||||
@@ -562,26 +562,6 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This case was added in FIDO 2.1.
|
|
||||||
if pin_uv_auth_param == Some(vec![]) {
|
|
||||||
if self.persistent_store.pin_hash()?.is_none() {
|
|
||||||
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_NOT_SET);
|
|
||||||
} else {
|
|
||||||
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_INVALID);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if pin_uv_auth_param.is_some() {
|
|
||||||
match pin_uv_auth_protocol {
|
|
||||||
Some(protocol) => {
|
|
||||||
if protocol != CtapState::<R, CheckUserPresence>::PIN_PROTOCOL_VERSION {
|
|
||||||
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_AUTH_INVALID);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
None => return Err(Ctap2StatusCode::CTAP2_ERR_MISSING_PARAMETER),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let hmac_secret_input = extensions.map(|e| e.hmac_secret).flatten();
|
let hmac_secret_input = extensions.map(|e| e.hmac_secret).flatten();
|
||||||
if hmac_secret_input.is_some() && !options.up {
|
if hmac_secret_input.is_some() && !options.up {
|
||||||
// The extension is actually supported, but we need user presence.
|
// The extension is actually supported, but we need user presence.
|
||||||
|
|||||||
Reference in New Issue
Block a user