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

openssl enc support for aead ciphers #24421

Open
JakkuSakura opened this issue May 16, 2024 · 1 comment
Open

openssl enc support for aead ciphers #24421

JakkuSakura opened this issue May 16, 2024 · 1 comment
Labels
triaged: feature The issue/pr requests/adds a feature

Comments

@JakkuSakura
Copy link

#304
I'm interested to use chacha20-poly1305 to encrypt/decrypt files, yet it gives AEAD ciphers not supported

openssl enc -chacha20-poly1305 -in inputfile.txt -out encryptedfile.dat
enc: AEAD ciphers not supported
enc: Use -help for summary.

But I do see it in ciphers

ChaCha20-Poly1305 cipher suites, extending TLS v1.2
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256      ECDHE-RSA-CHACHA20-POLY1305
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256    ECDHE-ECDSA-CHACHA20-POLY1305
TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256        DHE-RSA-CHACHA20-POLY1305
TLS_PSK_WITH_CHACHA20_POLY1305_SHA256            PSK-CHACHA20-POLY1305
TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256      ECDHE-PSK-CHACHA20-POLY1305
TLS_DHE_PSK_WITH_CHACHA20_POLY1305_SHA256        DHE-PSK-CHACHA20-POLY1305
TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256        RSA-PSK-CHACHA20-POLY1305
@JakkuSakura JakkuSakura added the issue: feature request The issue was opened to request a feature label May 16, 2024
@t8m t8m added triaged: feature The issue/pr requests/adds a feature and removed issue: feature request The issue was opened to request a feature labels May 16, 2024
@t8m
Copy link
Member

t8m commented May 16, 2024

Unfortunately to properly support AEAD ciphers in an enc utility would require a major effort. First we would have to design a new file format for that.

@t8m t8m changed the title openssl enc support for chacha20-poly1305 openssl enc support for aead ciphers May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged: feature The issue/pr requests/adds a feature
Projects
None yet
Development

No branches or pull requests

2 participants