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

Stop using deprecated Nettle functions #1204

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

achernya
Copy link
Collaborator

@achernya achernya commented Jun 28, 2022

Previously, ocb_internal.cc supported different key sizes, by way of
the deprecated aes_* function family. However, in practice, mosh
always uses AES-128. In Nettle, the explicit key-size APIs are not
deprecated, so switch to AES-128 directly.

Fixes: #1202

src/crypto/ocb_internal.cc Outdated Show resolved Hide resolved
Previously, ocb_internal.cc supported different key sizes, by way of
the deprecated aes_* function family. However, in practice, mosh
always uses AES-128. In Nettle, the explicit key-size APIs are not
deprecated, so switch to AES-128 directly.

Fixes: 1202
@achernya achernya merged commit 5ad20db into mobile-shell:master Jun 28, 2022
@achernya achernya deleted the nettle-ci branch August 3, 2022 23:20
@eminence eminence added this to the 1.4.0 milestone Aug 12, 2022
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.

Fails to build against nettle with -Werror
3 participants