refactor meta/internal/crypto and add key generation method

This commit is contained in:
Fabio Bozzo
2024-11-12 15:29:48 +01:00
parent 7cb0f97b30
commit 3987e8649c
6 changed files with 142 additions and 64 deletions

View File

@@ -1,6 +1,7 @@
package meta
import (
"errors"
"fmt"
"reflect"
"strings"
@@ -10,7 +11,7 @@ import (
"github.com/ipld/go-ipld-prime/node/basicnode"
"github.com/ipld/go-ipld-prime/printer"
"github.com/ucan-wg/go-ucan/pkg/crypto"
"github.com/ucan-wg/go-ucan/pkg/meta/internal/crypto"
)
var ErrUnsupported = errors.New("failure adding unsupported type to meta")