chore(ownership): transfer ownership from selesy to ucan-wg
This commit is contained in:
@@ -31,7 +31,7 @@ formatters:
|
||||
settings:
|
||||
goimports:
|
||||
local-prefixes:
|
||||
- github.com/selesy/go-varsig
|
||||
- github.com/ucan-wg/go-varsig
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/selesy/go-varsig"
|
||||
"github.com/ucan-wg/go-varsig"
|
||||
)
|
||||
|
||||
func TestEd25519(t *testing.T) {
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/selesy/go-varsig"
|
||||
"github.com/ucan-wg/go-varsig"
|
||||
)
|
||||
|
||||
func TestDecodeHashAlgorithm(t *testing.T) {
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/selesy/go-varsig"
|
||||
"github.com/ucan-wg/go-varsig"
|
||||
)
|
||||
|
||||
func TestDecodeEd25519(t *testing.T) {
|
||||
|
||||
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
||||
module github.com/selesy/go-varsig
|
||||
module github.com/ucan-wg/go-varsig
|
||||
|
||||
go 1.24.4
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/selesy/go-varsig"
|
||||
"github.com/ucan-wg/go-varsig"
|
||||
)
|
||||
|
||||
func TestRegistry_Decode(t *testing.T) {
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/selesy/go-varsig"
|
||||
"github.com/ucan-wg/go-varsig"
|
||||
)
|
||||
|
||||
func TestRSAVarsig(t *testing.T) {
|
||||
|
||||
15
varsig.go
15
varsig.go
@@ -1,21 +1,20 @@
|
||||
// Package varsig implements v0.1.0 of the [Varsig specification].
|
||||
// Package varsig implements v1.0.0 of the [Varsig specification] with
|
||||
// limited support for varsig < v1. This is primarily in support of the
|
||||
// UCAN v1.0.0 specification and will be deprecated in the future.
|
||||
//
|
||||
// # Algorithm naming
|
||||
// # Common algorithm naming
|
||||
//
|
||||
// While there is no strict need for compatibility with JWA/JWT/JWE/JWS,
|
||||
// all attempts are made to keep the algorithm names here consistent with
|
||||
// the table provided in [section 3.1] of RFC7518 titled "JSON Web Algorithms.
|
||||
// In cases where there is no equivalent name for an algorithm, a best-
|
||||
// effort attempt at creating a name in the spirit of that specification is
|
||||
// made.
|
||||
// list made available at the [IANA Registry] titled "JSON Web Signature
|
||||
// and Encryption Algorithms" (JOSE.)
|
||||
//
|
||||
// It should also be noted that algorithm in this context might in fact be
|
||||
// a pseudonym - for cryptographical signing algorithms that require the
|
||||
// signed data to be hashed first, these names commonly refer to the
|
||||
// combination of that signing algorithm and the hash algorithm.
|
||||
//
|
||||
// [section 3.1]: https://datatracker.ietf.org/doc/html/rfc7518#section-3.1
|
||||
//
|
||||
// [IANA Registry]]: https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-algorithms
|
||||
// [Varsig Specification]: https://github.com/ChainAgnostic/varsig
|
||||
package varsig
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/selesy/go-varsig"
|
||||
"github.com/ucan-wg/go-varsig"
|
||||
)
|
||||
|
||||
func TestDecode(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user