Security Architecture

Security Documentation

Goblect operates on a zero-server, 100% client-side architecture. All encryption, key derivation, hashing, password analysis, and metadata scrubbing run exclusively within your browser's sandbox.

Cryptographic Specifications (.gob v2)

Symmetric CipherAES-256-GCM (Authenticated Encryption with Associated Data)
Inner Key DerivationPBKDF2-HMAC-SHA256 — 600,000 iterations (OWASP recommended)
Outer Envelope KDFPBKDF2-HMAC-SHA256 — 150,000 iterations (metadata hiding)
Initialization Vector (IV)96-bit random per layer via crypto.getRandomValues()
Salts128-bit random outer salt + 128-bit random inner salt
Authentication Tag128-bit GCM integrity tag (tamper detection)

Double-Layer Client-Side Envelope

Every .gob v2 file uses two independent AES-256-GCM encryption layers derived locally from your Pact Password and separate random 16-byte salts:

  • Outer Layer: Encrypts the inner container JSON, concealing the original filename, original byte size, encryption timestamp, and inner salts from anyone inspecting the .gob file.
  • Inner Layer: Encrypts the actual file payload using a 600,000-round PBKDF2-HMAC-SHA256 key, defending against offline brute-force attacks.

Local Utility Guarantees

  • Password Generator: Uses rejection sampling over crypto.getRandomValues() so every character and word has uniform probability.
  • Password Strength Analyzer: Evaluates Shannon entropy, search-space entropy, keyboard walks, leetspeak tokens, and crack times offline with zero telemetry.
  • Hash & Checksum Engine: Computes SHA-256, SHA-384, SHA-512, and SHA-1 via native SubtleCrypto.digest alongside RFC 1321 MD5 and IEEE CRC-32.
  • Metadata Scrubber: Performs lossless binary segment/chunk removal on JPEG, PNG, WebP, SVG, and MP3 files, plus optional Canvas pixel re-encoding.