File tree Expand file tree Collapse file tree
crates/auths-sdk/tests/cases Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ fn setup_test_identity(registry_path: &std::path::Path) -> KeyAlias {
3131 let provider = PrefilledPassphraseProvider :: new ( "Test-passphrase1!" ) ;
3232 let config = CreateDeveloperIdentityConfig :: builder ( KeyAlias :: new_unchecked ( "test-key" ) )
3333 . with_git_signing_scope ( GitSigningScope :: Skip )
34+ . with_curve ( auths_crypto:: CurveType :: Ed25519 )
3435 . build ( ) ;
3536 let ctx = build_test_context ( registry_path, Arc :: new ( MemoryKeychainHandle ) ) ;
3637 let result = match initialize (
Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ mod workflow {
128128 ) ) ;
129129 let ctx = signing_ctx_with_agent ( & ctx, fake) ;
130130
131- let params = CommitSigningParams :: new ( alias. as_str ( ) , "git" , b"test data" . to_vec ( ) ) ;
131+ let params = CommitSigningParams :: new ( alias. as_str ( ) , "git" , b"test data" . to_vec ( ) )
132+ . with_pubkey ( auths_verifier:: DevicePublicKey :: ed25519 ( & [ 0u8 ; 32 ] ) ) ;
132133
133134 let result = CommitSigningWorkflow :: execute ( & ctx, params, chrono:: Utc :: now ( ) ) ;
134135 assert ! ( result. is_err( ) ) ;
You can’t perform that action at this time.
0 commit comments