The initial assumption of JSON-LD canonization was to only canonize the document (without proof attribute), hash the canonized string and sing it. However, the actual process involves canonizing proof attribute as well. The detailed flow can be referred here
The protocol supports selected Verification Method and Proof Types. In order to dictate these terms to external clients, such as SDK written is TS or any other language, client proto package was created to export enums for all the supported types. Refer the directory proto/ssi/client/enums.proto
JSON-LD canonization fix
The initial assumption of JSON-LD canonization was to only canonize the document (without
proof
attribute), hash the canonized string and sing it. However, the actual process involves canonizingproof
attribute as well. The detailed flow can be referred hereclient
proto package.Addresses: https://github.com/hypersign-protocol/hid-node/issues/375
The protocol supports selected Verification Method and Proof Types. In order to dictate these terms to external clients, such as SDK written is TS or any other language,
client
proto package was created to export enums for all the supported types. Refer the directoryproto/ssi/client/enums.proto