EnvLink FAQ

Expiration

What expiration formats are supported?

Password-Protected EnvLinks: Support flexible expiration - minutes (m), hours (h), days (d), months (M), years (y), or 'never'. Examples:30mfor 30 minutes,24hfor 24 hours,5dfor 5 days,6Mfor 6 months,1yfor 1 year, orneverfor permanent links.

Optional-Password EnvLinks: Fixed 1-hour expiration for security and convenience.

What is the default expiration time?

Password-Protected: 1 day if not specified during creation
Optional-Password: Fixed 1 hour (cannot be changed)

Can I create an EnvLink that never expires?

Yes, use--exp neverwhen creating or updating an EnvLink to make it permanent.

What happens to expired EnvLinks?

When manually expired or cleaned up by automatic maintenance, the EnvLink is permanently deleted from the server.

Security

Is password protection required?

No, password protection is optional. EnvLink supports two types:

Password-Protected EnvLinks: Useenvlink create --passfor enhanced security with explicit password protection.

Optional-Password EnvLinks (Default): Useenvlink createfor convenient sharing without password requirements. These expire automatically after 1 hour and use an extended ID format (e.g., el_abc123xyz456accesskey789).

Both types maintain client-side encryption - your data is always encrypted before transmission to the server.

What's the difference between password-protected and optional-password EnvLinks?
Feature Password-Protected Optional-Password
Password Required Yes, for all operations No password needed
Server Can Decrypt No (Zero-knowledge) No (Zero-knowledge)
ID Format el_abc123xyz456 el_abc123xyz456accesskey789
Expiration Flexible (minutes to never) Fixed 1 hour
Update Support Yes (with current password) No (install-only after creation)
Security Level High (Zero-knowledge proof) High (Zero-knowledge encryption)
Use Case Sensitive data, team sharing Convenient sharing, temporary use

Both types use client-side encryption and provide complete zero-knowledge security.

Can the server decrypt my data? 🔥 (Most Asked)

Password-Protected EnvLinks: No. The server uses zero-knowledge proof (ZK-proof) authentication and only stores encrypted data and password hashes. Your password derives the encryption key through PBKDF2, and the server can verify you know the correct password without ever seeing or storing the password itself. The server cannot decrypt your data.

Optional-Password EnvLinks: No. These use ultra-clean zero-knowledge encryption where the access key never leaves your machine. The server only stores the encrypted data and a 19-character base identifier. The 16-character access key used for encryption/decryption is embedded in the 35-character extended ID you share, but never sent to or stored on the server. The server cannot decrypt your data.

Can I add a reference label to my EnvLink?

Yes, use the--refoption to add a descriptive label (e.g., "production-api-keys", "staging-db"). This helps organize and identify EnvLinks, especially when managing multiple links.

How is my data secured?

All file content is encrypted using AES-256-GCM encryption before storage. The encryption uses a unique initialization vector (IV) and salt for each EnvLink.

Password-Protected Security (ZK-Proof Authentication):

graph LR
    A[Password + Files] --> B[SHA256 Hash Password]
    B --> C[Generate Salt + IV]
    C --> D[PBKDF2 Key Derivation]
    D --> E[AES-256-GCM Encrypt]
    E --> F[ZK-Proof Authentication]
    F --> G[Store: Encrypted Data + Salt + IV + Hash]

    H[Install: Password] --> I[Generate ZK-Proof]
    I --> J[Verify Server-side]
    J --> K[PBKDF2 with Salt]
    K --> L[AES-256-GCM Decrypt]
    L --> M[Original Files]

Optional-Password Security (Client-Side Encryption with Zero Server Knowledge):

graph LR
    A[Files Only] --> B[Generate Access Key Locally]
    B --> C[Generate Salt + IV]
    C --> D[Client-side AES-256-GCM Encrypt]
    D --> E[Send Only: Encrypted Data + BaseId]
    E --> F[Store: BaseId + Encrypted Data]

    G[Install: Extended ID] --> H[Extract Access Key Locally]
    H --> I[Fetch Encrypted Data with BaseId]
    I --> J[Client-side AES-256-GCM Decrypt]
    J --> K[Original Files]

Server Security Guarantees:

  • Password-Protected: Server never stores passwords, encryption keys, or auth tokens - Cannot decrypt your data
  • Optional-Password: Server never stores access keys - Cannot decrypt your data (zero-knowledge)
  • Both: Use AES-256-GCM encryption and PBKDF2 (100,000 iterations)

Ultra-Clean Zero-Knowledge: Both EnvLink types now provide complete zero-knowledge security. Optional-password EnvLinks achieve this by keeping the decryption key client-side only.

File Limits

How many files can I share in one EnvLink?

There is no limit on the number of .env files per EnvLink. You can share as many files as you need, as long as the total encrypted payload stays within the 2.5MB limit.

What is the file size limit?

The encrypted payload size cannot exceed 2.5MB. This limit applies to the total encrypted data including all files, metadata, and encryption overhead.

Example scenarios:

Scenario File Count Raw File Sizes Encrypted Payload Status
Single large file 1 .env(2.3MB) ~2.4MB Allowed
Multiple small files 5 Each ~400KB ~2.1MB Allowed
Many tiny files 20 Each ~100KB ~2.2MB Allowed
Exceeds limit 3 Each 1MB ~3.2MB Too large

The limit is on the encrypted payload (after encryption + metadata), not individual file sizes. You can share as many files as you want, as long as the total stays within 2.5MB after encryption.

What file naming patterns are accepted?

Files must follow the .env naming pattern:.envor.env.{suffix}where suffix can contain alphanumeric characters, underscores, or hyphens (e.g., .env, .env.local, .env.production).

Technical

What is the format of an EnvLink ID?

Password-Protected:el_followed by 16 alphanumeric characters (e.g.,el_abc123xyz456)

Optional-Password: Extended format with 35 total characters:el_+ 16 chars baseId + 16 chars accessKey (e.g.,el_abc123xyz456accesskey789)

The extended format embeds the decryption key directly in the ID for zero-knowledge security.

What happens if a file already exists during installation?

EnvLink will detect existing files and prompt you to confirm overwriting them. Files marked as existing will show a warning indicator during the selection process.

Note:

"If EnvLink doesn't resonate with your workflow, that's perfectly fine—you're free to choose what works best for you. But if it does, I hope it makes sharing environment files just a little bit easier and safer for your team."

— envlink developer team