diff --git a/packages/corks/lib/src/signer.dart b/packages/corks/lib/src/signer.dart index 961bceb3..94d1c52b 100644 --- a/packages/corks/lib/src/signer.dart +++ b/packages/corks/lib/src/signer.dart @@ -10,13 +10,13 @@ import 'package:meta/meta.dart'; mixin Signable implements ToProto { Future sign(Signer signer) async { final proto = toProto(); - final typeUrl = utf8.encode(proto.info_.qualifiedMessageName); - await signer.sign(typeUrl); + final typeUrl = 'dev.celest/${proto.info_.qualifiedMessageName}'; + await signer.sign(utf8.encode(typeUrl)); final bytes = proto.writeToBuffer(); final signature = await signer.sign(bytes); return SignedBlock( block: bytes, - typeUrl: proto.info_.qualifiedMessageName, + typeUrl: typeUrl, signature: signature, ); }