Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .changeset/add-signature-support.md

This file was deleted.

16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @hypercerts-org/lexicon

## 1.1.0

### Minor Changes

- [#219](https://github.com/hypercerts-org/hypercerts-lexicon/pull/219) [`39d7547`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/39d7547e7f11ebef6fbd49a3a6a5fe95d0e5e934) Thanks [@aspiers](https://github.com/aspiers)! - Add optional cryptographic signature support to all 21 record lexicons.

**Non-breaking:** signatures are optional on every record.
- New `app.certified.signature.defs` with `#list` (open union of inline signatures and `com.atproto.repo.strongRef` references) and `#inline` (raw ECDSA `(r,s)` bytes plus a DID verification method reference; signing curve derived from the verification method's multicodec prefix).
- New `app.certified.signature.proof` record for remote attestations.
- Every record lexicon gains an optional `signatures` property referencing `#list`.
- `README.md`, `SCHEMAS.md`, and the `building-with-hypercerts-lexicons` agent skill all gain a "Cryptographic Signatures" section with a worked end-to-end signing example.

On-the-wire shape, signing procedure, and verification procedure all conform to Nick Gerakines' [ATProtocol Attestation Specification](https://tangled.org/strings/did:plc:cbkjy5n7bk3ax2wplmtjofq2/3m3fy2xuahc22) (see also the [accompanying blog post](https://ngerakines.leaflet.pub/3m3idxul5hc2r)).

On `app.certified.link.evm` the existing EIP-712 `proof` field (wallet consent) and the new `signatures` array (record provenance) are complementary and do not conflict.

## 1.0.0

### Major Changes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hypercerts-org/lexicon",
"version": "1.0.0",
"version": "1.1.0",
"description": "ATProto lexicon definitions and TypeScript types for the Hypercerts protocol",
"type": "module",
"main": "./dist/index.cjs",
Expand Down