Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
7815c39
Add LLM-generated documentation to all files.
msporny Dec 2, 2025
f6e5bac
Update implementation to sign operations and remove @context values.
msporny Dec 4, 2025
2429b0f
Add initial README.md.
msporny Dec 5, 2025
2eb4909
Fix "Certificate" -> "Cryptographic".
msporny Dec 6, 2025
94a2582
Clean up how signatures are generated.
msporny Dec 6, 2025
bde4d64
Add heartbeat and deactivate functionality.
msporny Dec 6, 2025
9558c93
Update test files.
msporny Dec 6, 2025
cceb6d8
Add support for calling hmbd witness service.
msporny May 25, 2026
4d220bd
Add eslint.
msporny May 25, 2026
625e6b5
Add config file support and log storage.
msporny May 25, 2026
826da38
Add secrets management to tool.
msporny May 25, 2026
e0b7a18
Fix eslint errors.
msporny May 26, 2026
d9f84a2
Fix eslint errors in didcel CLI.
msporny May 26, 2026
7ce6317
Add CLI parameter to load config from specified file.
msporny May 26, 2026
780bc13
Add initial set of tests.
msporny May 26, 2026
f61fa7f
Add ability to load and verify cryptographic event log.
msporny May 29, 2026
07f0f57
Add node-fetch to package.json.
msporny May 30, 2026
d187150
Refactor to a pure library.
msporny May 30, 2026
a295cba
Move save functionality out to separate tests.
msporny May 30, 2026
2476530
Update tests to ensure operations are validated.
msporny May 30, 2026
ecdbbee
Update README.md to new library refactoring.
msporny May 30, 2026
7b41230
Add mock witness for test suite.
msporny May 30, 2026
7897664
Ensure previousEventHash is covered by the operation signature.
msporny Jun 6, 2026
93fba10
Use SHA-3 256 for witness hashes.
msporny Jun 6, 2026
79787cc
Add enforcement of heartbeatFrequency.
msporny Jun 6, 2026
7a262b6
Add ability to set heartbeat frequency in create/update.
msporny Jun 6, 2026
0f5deea
Add quantum resistant DID Document recovery feature and tests.
msporny Jun 6, 2026
e160485
Fix service to be an array to align with DID spec.
msporny Jun 7, 2026
0fb34a3
Fix witnessing to witness the bare event.
msporny Jun 7, 2026
87c7588
Fix docs related to hash used for witnessing.
msporny Jun 7, 2026
6139e61
Ensure proofPurpose on witness proofs is assertionMethod.
msporny Jun 7, 2026
cd84b18
Verify the DID value on load.
msporny Jun 7, 2026
1f44aba
Add trustedWitnesses check and versionTime check.
msporny Jun 7, 2026
c7381db
Add check to ensure operations after deactivation are rejected.
msporny Jun 7, 2026
02910e2
Always check an entries witness time for timeliness.
msporny Jun 7, 2026
1db6fd8
Add check to catch malformed CELs.
msporny Jun 7, 2026
5134a66
Refactor create() to return cryptographic event log.
msporny Jun 7, 2026
8edc1e8
Do not set operation data if data is not defined.
msporny Jun 7, 2026
e354e86
Update load to read. Add loadFromFile function.
msporny Jun 7, 2026
44136ba
Add JSON Schema checks for DID Document and CEL.
msporny Jun 7, 2026
977a2b6
Do not return didDocument when CEL is invalid.
msporny Jun 7, 2026
5e69653
Ensure load/save uses gzip for file format.
msporny Jun 7, 2026
b19f4dc
Ensure events cannot be added after deactivation.
msporny Jun 7, 2026
f8adc0c
Catch if key generation error occurs.
msporny Jun 7, 2026
16d7548
Catch any witnessing errors.
msporny Jun 7, 2026
968dfcc
Guard against empty CEL logs being witnessed.
msporny Jun 7, 2026
9306c11
Replace UTF-8 chars with ASCII.
msporny Jun 7, 2026
6378c47
Fix linting issues.
msporny Jun 7, 2026
20f6e30
Refactor SHA3-256 Multihash utility into utils.js.
msporny Jun 7, 2026
b1d58aa
Simplify hashDidKey utility.
msporny Jun 7, 2026
66005d9
Refactor _isTrustedWitnessProof out of witness proof check.
msporny Jun 7, 2026
5d037e4
Update to use structuredClone.
msporny Jun 7, 2026
ca9a29f
Refactor event signing into helper function.
msporny Jun 7, 2026
903adff
Fix failing tests to use new saveToFile and loadFromFile utils.
msporny Jun 7, 2026
159f6a1
Fix linting errors.
msporny Jun 7, 2026
4cf73b7
Fix documentation throughout code base.
msporny Jun 7, 2026
0dd1673
Remove trailing commas.
msporny Jun 7, 2026
3b04449
Ensure operation verifications only use verified keys.
msporny Jun 7, 2026
c2a8d3c
Fix bug that allows unverified changes to be used for versionTime.
msporny Jun 7, 2026
4127b3c
Ensure operation proof isn't silently ignored.
msporny Jun 7, 2026
6957aa4
Move recovery key concept to heartbeat.
msporny Jun 22, 2026
53239a2
Use HKDF to derive heartbeat keys for each event.
msporny Jun 22, 2026
ae4bd0a
Remove timingSafeEqual in test.
msporny Jun 22, 2026
9f32e05
Ensure heartbeat key is used to sign operations.
msporny Jun 22, 2026
ff80e27
Update README.md to align with new heartbeat mechanism.
msporny Jun 22, 2026
9e250eb
Refactor read() function in didcel.js.
msporny Jun 26, 2026
97657d0
Make hashDidKey a utility function.
msporny Jun 26, 2026
8564434
Create new more capable pretty printer for CEL logs.
msporny Jun 26, 2026
6d7f952
Refactor verification functions to re-use common utilities.
msporny Jun 26, 2026
b460300
Put verification relationships constants into utils.js.
msporny Jun 26, 2026
633451e
Refactor key registration with document loader.
msporny Jun 26, 2026
072f3fc
Refactor library to ease readability and maintenance.
msporny Jun 27, 2026
67054c3
Refactor complex calls to make them more readable.
msporny Jun 27, 2026
1ee0f30
Fix comments after refactor.
msporny Jun 27, 2026
9d15bb1
Fix linting errors in code base.
msporny Jun 27, 2026
e2324ae
Remove unnecessary async for _sha3256Hasher.digest().
msporny Jun 27, 2026
cb0d946
Remove more unnecessary async declarations.
msporny Jun 27, 2026
48aeef5
Update create call to take service and keyPair as an option.
msporny Jun 27, 2026
811414d
Update package.json to include omitted information.
msporny Jun 27, 2026
33d5ed1
Add new tests for invalid witnessing, tampered DIDs, proofs.
msporny Jun 27, 2026
9a4fcc9
Ensure that verification relationships have at least 1 element.
msporny Jun 27, 2026
26a007e
Refactor tests with duplicate test paths.
msporny Jun 27, 2026
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
12 changes: 12 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
root: true,
env: {
node: true
},
extends: [
'digitalbazaar',
'digitalbazaar/jsdoc',
'digitalbazaar/module'
],
ignorePatterns: ['node_modules/']
};
7 changes: 7 additions & 0 deletions .mocharc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

module.exports = {
spec: 'tests/mocha/*.js',
timeout: 120000,
reporter: 'spec'
};
Loading