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

Last minute changes to the ChaCha20Poly1305 API #148

Merged
merged 1 commit into from
Dec 24, 2016

Conversation

tarcieri
Copy link
Contributor

@tarcieri tarcieri commented Dec 24, 2016

Unfortunately I already shipped 4.0.0. Technically this is a semantic versioning violation. However, the API is not yet documented and there have only been 40 downloads of 4.0.0, so I think it's still safe to ship some last-minute changes nobody will complain about (I hope!)

  • Add "Legacy" to the old ChaCha20Poly1305 API to impart it shouldn't be used except for compatibility reasons
  • Capitalize both 'C's in ChaCha
  • Rename the base class of AEAD ciphers to RbNaCl::AEAD::Base

Unfortunately I already shipped 4.0.0. Technically this is a semantic versioning
violation. However, the API is not yet documented and there have only been 40
downloads of 4.0.0, so I think it's still safe to ship some last-minute changes
nobody will complain about (I hope!)

- Add "Legacy" to the old ChaCha20Poly1305 API to impart it shouldn't be used
  except for compatibility reasons
- Capitalize both 'C's in ChaCha
- Rename the base class of AEAD ciphers to `RbNaCl::AEAD::Base`
@tarcieri tarcieri merged commit 79aba15 into master Dec 24, 2016
@tarcieri tarcieri deleted the last-minute-api-changes branch December 24, 2016 02:00
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.

None yet

1 participant