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

Add support for receiver aliases for gift wrap creation to avoid exposing identities and improve test coverage #184

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

tyiu
Copy link
Contributor

@tyiu tyiu commented Oct 17, 2024

This should be a backwards compatible change.

tags: [Tag] = [],
createdAt: Int64 = Int64(Date.now.timeIntervalSince1970 - TimeInterval.random(in: 0...172800)),
signedBy keypair: Keypair
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This parameter was not being used and does not make sense in the context of this function because the seal event already exists -- there's nothing to sign with it and the gift wrap is signed with a one-time-use random keypair.

@tyiu tyiu merged commit ce5b584 into main Oct 17, 2024
5 checks passed
@tyiu tyiu deleted the tyiu/gift-wrap-improvements branch October 17, 2024 15:26
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