From 922ab7291fbdc1f681a3378b8225b2d3668f11ac Mon Sep 17 00:00:00 2001 From: setrofim Date: Mon, 15 May 2023 14:33:22 +0100 Subject: [PATCH] Update README.md Co-authored-by: Thomas Fossati --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66cb91a..57c51c5 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,8 @@ See [example_test.go](./example_test.go) for more examples. #### Untagged Signing -`cose.Sign1` (above) generated a tagged CBOR object. You need to create a +`cose.Sign1` (above) generated a COSE_Sign1_Tagged object. To serialize a +COSE_Sign1 instead (i.e., without the outer tag), you need to create a `Sign1Message` by hand, and set its `Untagged` flag before signing: ```go