Skip to content

Commit 1f83dfe

Browse files
docs: surface private signing attributes on FriendlySender (from encryption4all/postguard-js#89)
1 parent 6a11764 commit 1f83dfe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/sdk/js-decryption.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ The full `FriendlySender` type:
165165
| `attributes` | `Array<{ type, value? }>` | All identity attributes |
166166
| `raw` | `SenderIdentity` | Raw identity structure for advanced use |
167167

168+
Since [encryption4all/postguard-js#89](https://github.com/encryption4all/postguard-js/pull/89), `attributes` also carries the attributes the sender signed under their private signing identity (name, mobile, dateofbirth, and so on), not just the public email. Earlier versions discarded the unseal result and surfaced only the email, so recipients saw a single attribute even when the sender had disclosed more. Read the extra attributes from `attributes` to show the recipient exactly who signed the message.
169+
168170
## Error handling
169171

170172
Decryption can throw:

0 commit comments

Comments
 (0)