Skip to content

feat(vrl): add AES-GCM support to encrypt/decrypt functions#1641

Open
dodo0822 wants to merge 11 commits into
vectordotdev:mainfrom
dodo0822:dodo0822/aes-gcm
Open

feat(vrl): add AES-GCM support to encrypt/decrypt functions#1641
dodo0822 wants to merge 11 commits into
vectordotdev:mainfrom
dodo0822:dodo0822/aes-gcm

Conversation

@dodo0822

Copy link
Copy Markdown

Summary

Add support for AES-GCM with various key and nonce sizes to the encrypt/decrypt functions. Addresses #1636.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

How did you test this PR?

  • Added unit test cases to encrypt.rs/decrypt.rs
  • Ran ./scripts/checks.sh to ensure test cases passes

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on
    our guidelines.
  • No. A maintainer will apply the "no-changelog" label to this PR.

Checklist

  • Our CONTRIBUTING.md is a good starting place.
  • If this PR introduces changes to LICENSE-3rdparty.csv, please
    run dd-rust-license-tool write and commit the changes. More details here.
  • For new VRL functions, please also create a sibling PR in Vector to document the new function.

References

@dodo0822 dodo0822 requested a review from a team as a code owner February 15, 2026 20:45
Signed-off-by: Chih-Wei Fang <dodo0822@gmail.com>
@pront

pront commented Mar 20, 2026

Copy link
Copy Markdown
Member

Please fix merge conflicts and we will take a look.

@dodo0822

Copy link
Copy Markdown
Author

@pront I have merged with the latest main branch. Please take another look, thanks!

Comment thread src/stdlib/encrypt.rs
@pront pront requested a review from thomasqueirozb May 12, 2026 21:38
@pront pront added stdlib: decrypt VRL stdlib function: decrypt stdlib: encrypt VRL stdlib function: encrypt labels Jun 16, 2026
pront
pront previously approved these changes Jul 1, 2026
@pront pront enabled auto-merge July 1, 2026 17:07
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The docs/generated/ folder is out of date but I was unable to push the fix automatically.

Please run the following and commit the result:

./scripts/generate_docs.sh

@pront pront requested a review from a team as a code owner July 1, 2026 17:16
@github-actions github-actions Bot added the docs review on hold PR is pending a docs team review label Jul 1, 2026
pront added 3 commits July 1, 2026 13:27
…liases

aes-siv 0.7, crypto_secretbox 0.1, and ipcrypt-rs 0.9 pull in getrandom
0.2 (via aead 0.5 → rand_core 0.6), which requires the "js" feature for
wasm32-unknown-unknown builds. Alias naming is now versioned consistently:
getrandom02/03 for legacy versions, plain getrandom for the current 0.4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs review on hold PR is pending a docs team review stdlib: decrypt VRL stdlib function: decrypt stdlib: encrypt VRL stdlib function: encrypt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants