-
2c902a565e
update the license files to make go do happy
main
v1.0.0
Michael Muré
2025-08-05 15:44:18 +02:00
-
58ebd20b04
feat: rename Discriminant to Algorithm
Michael Muré
2025-08-05 15:35:12 +02:00
-
68e0d91f64
feat(doc): add some basic examples
Michael Muré
2025-08-05 15:03:54 +02:00
-
8c8da51656
Expose the hash on all varsig
v1.0.0-pre6
Michael Muré
2025-07-29 14:04:42 +02:00
-
dba91a583e
add a GHA workflow to run the tests
add-ci
Michael Muré
2025-07-29 14:04:42 +02:00
-
-
af0845c832
Remove support for varsig v0
Michael Muré
2025-07-28 18:40:45 +02:00
-
35ef54f79f
feat: turns out, PayloadEncoding can be multiple values for EIP191
v1.0.0-pre5
Michael Muré
2025-07-24 13:53:03 +02:00
-
2f22cb9b15
feat(test): add more tests for the presets, and compat with iso-ucan
Michael Muré
2025-07-23 10:58:51 +02:00
-
a43c3af4c8
feat(ecdsa): implement varsig for EdDSA
Michael Muré
2025-07-22 12:25:31 +02:00
-
eab24207bc
fix(eddsa): ed25519 or ed448 should be curves, not discriminator
Michael Muré
2025-07-22 11:39:48 +02:00
-
be01529d44
perf: pre-allocate the buffer when encoding a varsig
Michael Muré
2025-07-22 12:27:57 +02:00
-
182036b055
fix(eddsa): fix the size of the signature check for ed448
Michael Muré
2025-07-22 11:34:12 +02:00
-
0763d6f8b6
feat(hashes): shorten HashAlgorithm to Hash, add more of them
Michael Muré
2025-07-22 11:27:24 +02:00
-
c7a870e9db
readme: add authorship and license
Michael Muré
2025-07-10 15:10:34 +02:00
-
2238f3a26c
build: run GitHub checks only once
Steve Moyer
2025-07-10 10:21:31 -04:00
-
f2cd448a11
build: support Go v1.23.10 downstream
Steve Moyer
2025-07-10 09:56:46 -04:00
-
8f6da19802
ci: define govulncheck version in pre-commit, avoid polluting go.mod
deps
Michael Muré
2025-07-10 14:07:14 +02:00
-
-
25d4579b29
test(ucan): add test for updated UCAN example varsig
v1.0.0-pre4
Steve Moyer
2025-07-10 06:11:07 -04:00
-
5fb3516d15
feat(deps): remove the multicodec dependency, as varsig constants are not multicodec
Michael Muré
2025-07-10 11:24:14 +02:00
-
eb70826a70
varsig: handle unknown version with an error
Michael Muré
2025-07-09 13:15:39 +02:00
-
6308c66ab7
update varsig documentation
Michael Muré
2025-07-09 12:55:44 +02:00
-
f6b72f1907
fix(v0): restores validateSig behavior
Steve Moyer
2025-07-08 14:13:47 -04:00
-
03770e0d38
use value receiver, remove unneeded generic
Michael Muré
2025-07-08 18:38:23 +02:00
-
1ea8b00efd
Merge pull request #1 from ucan-wg/constants-alloc
Steve Moyer
2025-07-08 11:53:19 -04:00
-
-
21a78a9d2d
fix(eddsa): use DecodeHashAlgorithm and create decodeEdDSACurve
Steve Moyer
2025-07-08 11:27:18 -04:00
-
5cea53af26
perf(constants): avoid allocating a map for each Decode*() call
constants-alloc
Michael Muré
2025-07-08 15:50:59 +02:00
-
-
8dcaefbf3a
feat: switch to dual Apache/MIT licenses
Steve Moyer
2025-07-08 10:51:45 -04:00
-
caaa0204b8
fix(hash): HashAlgorithmUnspecified should not be ok
Steve Moyer
2025-07-08 09:42:09 -04:00
-
8c932e0eb8
chore(ownership): transfer ownership from selesy to ucan-wg
v1.0.0-pre3
Steve Moyer
2025-07-08 08:23:30 -04:00
-
83227f36a7
docs: refine Go docs and improve naming
v1.0.0-pre2
Steve Moyer
2025-07-08 07:34:57 -04:00
-
af00c4ff6c
fix(ecdsa): add stub to make checks pass on Github
v1.0.0-pre1
Steve Moyer
2025-07-07 16:29:30 -04:00
-
77e0cddcfc
build(pre-commit): use pre-commit hooks and configuration as checks
Steve Moyer
2025-07-07 16:13:58 -04:00
-
03bcfb7b16
feat(eddsa): add support for EdDSA varsigs - and common Ed25519 and Ed448 algorithms
Steve Moyer
2025-07-07 15:42:11 -04:00
-
8b710b7e23
feat(rsa): adds RSA varsig implementation and "common" algorithms
Steve Moyer
2025-07-07 11:25:58 -04:00
-
f9f39d363f
fix(varsig): make generic and name decode everywhere
Steve Moyer
2025-07-07 08:55:43 -04:00
-
9c83def9e0
feat(constant): add types/decoders for hash algorithms and payload encoding
Steve Moyer
2025-07-07 07:36:01 -04:00
-
df4386d185
refactor(varsig): separates payload encoding and signature validation
Steve Moyer
2025-07-07 07:34:17 -04:00
-
d43079c7fd
Merge branch 'main' of github.com:selesy/go-varsig
Steve Moyer
2025-07-04 11:07:38 -04:00
-
-
260fc2bf8b
docs: add Apache 2.0 LICENSE file
Steve Moyer
2025-07-04 11:07:27 -04:00
-
109ccc0146
feat(option): add Option type for Varsig construction (initially for varsig < v1)
Steve Moyer
2025-07-04 10:53:49 -04:00
-
9a6776698a
doc(error): document possible varsig encoding/decoding errors
Steve Moyer
2025-07-04 10:27:12 -04:00
-
d3378a0608
feat(registry): adds default and custom registries for signing algorithms parsing
Steve Moyer
2025-07-04 10:04:40 -04:00
-
6d514d0061
build: update Go to v1.24.4 and update build tools
Steve Moyer
2025-07-04 09:40:18 -04:00
-
-
ba0e92dcee
build: configure Go tools and dependencies
Steve Moyer
2024-11-30 07:55:59 -05:00
-
9565d56178
docs: moves library documentation to Go package doc.
Steve Moyer
2024-11-29 09:08:28 -05:00
-
9e9cc6dc92
docs: add initial README file
Steve Moyer
2024-11-29 08:21:26 -05:00
-
7b31ac0149
build: ignore Go, direnv and dotenv files
Steve Moyer
2024-11-29 07:52:29 -05:00
-
c267fe9169
build: add asdf .tool-versions file
Steve Moyer
2024-11-29 07:50:01 -05:00