Skip to content

Commit 1c678e2

Browse files
test(ctap2): note how to refresh the golden vectors
1 parent 514929c commit 1c678e2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

libwebauthn/src/proto/ctap2/cbor/request.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ impl TryFrom<&Ctap2LargeBlobsRequest> for CborRequest {
120120

121121
#[cfg(test)]
122122
mod tests {
123+
// To refresh after an intentional wire change, run the test and copy the actual (left) hex from the assert_eq! panic.
123124
use super::*;
124125
use crate::proto::ctap2::model::{
125126
Ctap2CredentialType, Ctap2GetAssertionOptions, Ctap2MakeCredentialOptions,

libwebauthn/src/proto/ctap2/cose.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ mod tests {
551551
assert!(to_spki(&bytes).is_err());
552552
}
553553

554+
// To refresh after an intentional wire change, run the test and copy the actual (left) hex from the assert_eq! panic.
554555
/// Pin the exact COSE_Key bytes cosey emits for a fixed P-256 key.
555556
#[test]
556557
fn p256_public_key_golden_cose() {

0 commit comments

Comments
 (0)