Skip to content

Conversation

@marekoid
Copy link
Contributor

No description provided.

@marekoid
Copy link
Contributor Author

Those are automatic IntelliJ's proposed fixes, just the last fix in SecretBoxOpener had if (nonce.length - 16 >= 0) guard also proposed but it wasn't needed. I also added precondition check for the length of the passed nonce. It's a general secure coding practise to validate inputs (asked about validating ciphertext length too).

@marekoid marekoid requested a review from mdpye March 31, 2020 16:03
@marekoid marekoid merged commit 034efbb into decrypt-integration Mar 31, 2020
@marekoid marekoid deleted the fixManualArrayCopying branch March 31, 2020 18: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.

3 participants