Skip to content

Commit 3099294

Browse files
committed
Fixes documentation with private repo links
1 parent 2c24bf9 commit 3099294

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

libraries/opensk/src/ctap/fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ pub fn process_bio_enrollment<E: Env>(
345345
enrollment_status: &mut EnrollmentStatus,
346346
) -> CtapResult<ResponseData> {
347347
// Enforcing modaility is not explicitly mentioned in the specification.
348-
// https://github.com/fido-alliance/fido-2-specs/issues/1673
348+
// https://github.com/fido-alliance/fido-2-specs/issues/1673 (private)
349349
// Let's be strict until we know which is correct.
350350
if params.sub_command.is_some() {
351351
let modality = ok_or_missing(params.modality)?;

libraries/opensk/src/ctap/mod.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ fn truncate_to_char_boundary(s: &str, mut max: usize) -> &str {
265265

266266
// For MakeCredential and GetAssertion, the specification says:
267267
// If the uvRetries counter is 0, return CTAP2_ERR_PIN_BLOCKED. See:
268-
// https://github.com/fido-alliance/fido-2-specs/issues/1672
268+
// https://github.com/fido-alliance/fido-2-specs/issues/1672 (private)
269269
#[cfg(feature = "fingerprint")]
270270
fn map_uv_block_error(result: CtapResult<()>) -> CtapResult<()> {
271271
result.map_err(|e| match e {
@@ -856,10 +856,6 @@ impl<E: Env> CtapState<E> {
856856
if options.uv {
857857
#[cfg(not(feature = "fingerprint"))]
858858
return Err(Ctap2StatusCode::CTAP2_ERR_INVALID_OPTION);
859-
// The specification says:
860-
// If the uvRetries counter is 0, return CTAP2_ERR_PIN_BLOCKED.
861-
// But I assume this is a typo and should be UV_BLOCKED instead.
862-
// https://github.com/fido-alliance/fido-2-specs/issues/1672
863859
#[cfg(feature = "fingerprint")]
864860
map_uv_block_error(perform_built_in_uv(env, channel, true))?;
865861
#[cfg(feature = "fingerprint")]
@@ -1237,8 +1233,6 @@ impl<E: Env> CtapState<E> {
12371233
if options.uv {
12381234
#[cfg(not(feature = "fingerprint"))]
12391235
return Err(Ctap2StatusCode::CTAP2_ERR_INVALID_OPTION);
1240-
// Same error code ambiguity as in MakeCredential.
1241-
// https://github.com/fido-alliance/fido-2-specs/issues/1672
12421236
#[cfg(feature = "fingerprint")]
12431237
map_uv_block_error(perform_built_in_uv(env, channel, true))?;
12441238
#[cfg(feature = "fingerprint")]

0 commit comments

Comments
 (0)