Skip to content

Add VeraCrypt shell plugin#596

Open
gdellis wants to merge 2 commits into1Password:mainfrom
gdellis:veracrypt-plugin
Open

Add VeraCrypt shell plugin#596
gdellis wants to merge 2 commits into1Password:mainfrom
gdellis:veracrypt-plugin

Conversation

@gdellis
Copy link
Copy Markdown

@gdellis gdellis commented May 6, 2026

Summary

Add VeraCrypt shell plugin for 1Password CLI, enabling secure mount operations with VeraCrypt volumes.

Plugin Details

  • Plugin name: veracrypt
  • Platform: VeraCrypt
  • Credential: Volume Password

Features

  • Custom provisioner injects password via -p <password> --non-interactive flags
  • Supports VERACRYPT_PASSWORD environment variable for credential import
  • Volume field included for future multi-volume support
  • Text-mode CLI (-t) for Linux

Testing

  • All validation checks pass (14/14)
  • All tests pass (5/5)

Example Usage

# Mount a VeraCrypt volume
op plugin run veracrypt -- veracrypt -t --mount /path/to/volume /mnt/mount

gdellis added 2 commits May 6, 2026 16:07
VeraCrypt CLI expects: veracrypt -t -p <password> --non-interactive [Volume path] [Mount point]
The provisioner was appending flags AFTER positional args, causing 'Unexpected parameter' error.

Fix: Insert -p <password> --non-interactive before first positional argument (arg not starting with '-').
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.

1 participant