Skip to content

Commit b05a56c

Browse files
authored
fix(cat-voices): signed document signing (#2341)
1 parent 55b1cd9 commit b05a56c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/signed_document/signed_document_manager_impl.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ final class _CatalystSigner implements CatalystCoseSigner {
8989
);
9090

9191
@override
92-
StringOrInt? get alg => const IntValue(CoseValues.eddsaAlg);
92+
StringOrInt? get alg => null;
9393

9494
@override
9595
Future<Uint8List?> get kid async {

catalyst_voices/packages/libs/catalyst_cose/lib/src/cose_sign.dart

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,7 @@ final class CoseSign extends Equatable {
179179
payload: CborBytes(payload),
180180
);
181181

182-
return Uint8List.fromList(
183-
cbor.encode(
184-
CborBytes(
185-
cbor.encode(sigStructure),
186-
),
187-
),
188-
);
182+
return Uint8List.fromList(cbor.encode(sigStructure));
189183
}
190184

191185
static CborList _createCoseSignSigStructure({

0 commit comments

Comments
 (0)