Skip to content

feat: add multi-entry encrypt/decrypt with YAML import/export#20

Merged
pedrordgs merged 2 commits intomasterfrom
feat/multi-entry-encrypt-decrypt
Mar 9, 2026
Merged

feat: add multi-entry encrypt/decrypt with YAML import/export#20
pedrordgs merged 2 commits intomasterfrom
feat/multi-entry-encrypt-decrypt

Conversation

@pedrordgs
Copy link
Owner

Summary

  • Add encryptMultiple and decryptMultiple server actions to support batch operations on multiple vault entries in a single request
  • Refactor encrypt and decrypt forms to support multiple entries with optional labels, including per-entry error reporting
  • Add lib/vault/yaml.ts utility for parsing and generating vault.yml files, with import (decrypt form) and export (encrypt form) support

Changes

  • app/actions/vault.ts: New encryptMultiple/decryptMultiple actions with Zod validation and partial-failure handling
  • components/vault/encrypt-form.tsx: Multi-entry UI with add/remove entries, password state, download YAML button
  • components/vault/decrypt-form.tsx: Multi-entry UI with add/remove entries, import vault.yml, per-entry results
  • lib/vault/yaml.ts: YAML parse/generate helpers for vault files
  • app/globals.css: CSS indentation cleanup + cursor pointer fix for buttons
  • app/page.tsx: Fix LICENSE link to use master branch
  • CHANGELOG.md / README.md: Document v1.1.x releases and Next.js 16.1.5 upgrade

- Add encryptMultiple and decryptMultiple server actions supporting batch operations
- Refactor encrypt/decrypt forms to support multiple entries with labels
- Add YAML utility (lib/vault/yaml.ts) for vault.yml import and export
- Add cursor pointer CSS fix for button elements
- Update CHANGELOG and README for v1.1.x releases and Next.js 16.1.5
- Fix LICENSE link to use master branch
@coderabbitai
Copy link

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6fa70080-e3de-4579-9783-e22afd170a50

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/multi-entry-encrypt-decrypt

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pedrordgs pedrordgs merged commit f104e62 into master Mar 9, 2026
5 checks passed
@pedrordgs pedrordgs deleted the feat/multi-entry-encrypt-decrypt branch March 9, 2026 15:49
@pedrordgs pedrordgs linked an issue Mar 9, 2026 that may be closed by this pull request
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.

[FEATURE] Support for multiple text to encrypt

1 participant