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

x509.(Encrypt|Decrypt)PEMBlock have been deprecated #124

Open
jdtw opened this issue Nov 17, 2021 · 0 comments
Open

x509.(Encrypt|Decrypt)PEMBlock have been deprecated #124

jdtw opened this issue Nov 17, 2021 · 0 comments

Comments

@jdtw
Copy link
Contributor

jdtw commented Nov 17, 2021

From the linter:

  Error: SA1019: x509.DecryptPEMBlock has been deprecated since Go 1.16 because it shouldn't be used: Legacy PEM encryption as specified in RFC 1423 is insecure by design. Since it does not authenticate the ciphertext, it is vulnerable to padding oracle attacks that can let an attacker recover the plaintext.  (staticcheck)
  Error: SA1019: x509.EncryptPEMBlock has been deprecated since Go 1.16 because it shouldn't be used: Legacy PEM encryption as specified in RFC 1423 is insecure by design. Since it does not authenticate the ciphertext, it is vulnerable to padding oracle attacks that can let an attacker recover the plaintext.  (staticcheck)
jdtw added a commit that referenced this issue Nov 17, 2021
The lints from #124 will always cause CI to fail. Ignore them for now.
mbyczkowski pushed a commit that referenced this issue May 12, 2023
The lints from #124 will always cause CI to fail. Ignore them for now.
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

No branches or pull requests

1 participant