Skip to content

sodium_crypto_sign* always produce non-empty-string#1985

Merged
ondrejmirtes merged 1 commit intophpstan:1.9.xfrom
Slamdunk:sodium_crypto_sign
Nov 8, 2022
Merged

sodium_crypto_sign* always produce non-empty-string#1985
ondrejmirtes merged 1 commit intophpstan:1.9.xfrom
Slamdunk:sodium_crypto_sign

Conversation

@Slamdunk
Copy link
Copy Markdown
Contributor

@Slamdunk Slamdunk commented Nov 8, 2022

By design libsodium never produce or allow consumption of empty keys or an empty signature.

That's true for basically all sodium_* functions, but I prefer to propose here PRs only for what I know and I have first hand experience on.

@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you.

@Slamdunk Slamdunk deleted the sodium_crypto_sign branch November 8, 2022 06:45
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.

2 participants