Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delegation: WIP harmonisation of the constructors, issuer verification #73

Draft
wants to merge 1 commit into
base: v1
Choose a base branch
from

Conversation

MichaelMure
Copy link
Collaborator

No description provided.

@@ -193,8 +194,16 @@ func FromIPLD(node datamodel.Node) (*Token, error) {
}

func (t *Token) toIPLD(privKey crypto.PrivKey) (datamodel.Node, error) {
var sub *string
// sanity check that privKey and issuer are matching
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it stays here (aka, not directly in the envelope package), it needs to be replicated in invocation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant