WardType User Manual

Everything you need to install WardType, verify official Bitwarden CLI OSS, master Quick Access shortcuts, write wardtype:// desktop rules, and back up your portable directory.

1. Quick Start & Core CLI

WardType pairs with the official local Bitwarden CLI OSS (2025.9.0 or newer) instead of re-implementing vault cryptography or syncing through third-party servers.

Installing WardType

  • Windows (x64 & ARM64): Choose either the lightweight Portable ZIP (requires .NET 10 Runtime) or the zero-prerequisite Standalone ZIP.
  • macOS 15 Sequoia+ (Apple Silicon & Intel): Open the self-contained WardType.app (.dmg / .zip) and grant Accessibility permission in System Settings → Privacy & Security so WardType can read window metadata and inject keystrokes via CGEvent.
Windows · Silent Tray Startup
WardType.exe --tray

Preparing Official Bitwarden CLI OSS

Open Core CLI inside WardType and click Fetch Releases to install official Bitwarden CLI OSS 2025.9.0+. You can configure an optional HTTPS acceleration prefix (such as https://proxy.example.com/) with automatic fallback to GitHub. Before activation, WardType verifies ZIP byte length, SHA-256 digest, Windows Bitwarden Inc. Authenticode / macOS codesign publisher signature, and binary --version output.

2. Connecting Vaults & Unlock Policy

Click Connect Account to sign in to Official Bitwarden Cloud (US / EU) or self-hosted Vaultwarden servers—supporting both API Key + Master Password and Email + Master Password + 2FA silently with no console windows.

  • Zero Master Password Persistence: Master passwords are passed solely to the local Bitwarden CLI via scrubbed environment variables and are never written to disk. Optional encrypted storage saves server URLs, account metadata, and API Key credentials locally.
  • Built-in Quick PIN: Optionally set an ASCII alphanumeric Quick PIN encrypted with PBKDF2-SHA256 (210,000 iterations) + AES-256-GCM. Three consecutive wrong attempts automatically wipe the PIN file, falling back to your Master Password.
  • Inline Quick Access Unlock: Unlock directly inside the Spotlight Quick Access panel without losing focus on your target desktop window.

3. Keyboard Shortcuts & Quick Access

Press the global hotkey from any native desktop app to capture the active window, prioritize matching entries, and execute Auto-Type without touching the mouse. All global, Quick Access, and main-window bindings can be remapped on the Shortcuts page with conflict detection and one-click reset.

Shortcut Context Action
Ctrl+Alt+Space Global Open Quick Access and capture foreground window & focus
Enter Quick Access Smart Auto-Type (default Username → Tab → Password, or rule sequence)
Ctrl+Enter Quick Access Smart Auto-Type and press Enter automatically to submit
Ctrl+U / P / T Quick Access Type Username, Password, or live 2FA TOTP code individually
Ctrl+Shift+C Quick Access Securely copy password (auto-clears after 30s; excluded from Windows clipboard history & cloud sync)
Ctrl+B Quick Access Bind the captured target window as an encrypted synced rule for the selected item
Esc During Auto-Type Abort keystroke injection immediately (physical mouse clicks also abort instantly)

4. wardtype:// Desktop Rule Protocol

Desktop rules are stored inside your existing Bitwarden login.uris with match type Never match (5). They sync end-to-end across devices without interfering with browser extensions or mobile autofill. Before saving any rule edit, WardType syncs the latest cloud revision and merges only desktop URIs so concurrent password or TOTP edits from other devices stay intact.

URI Grammar
wardtype://<platform>/<value>[?field=<field>&match=regex&seq=<sequence>]
  • platform: win (Windows) or mac (macOS). Only rules matching the active OS are evaluated.
  • field: Windows supports exe (case-insensitive executable name) and title (window title). macOS supports bundle (Bundle ID), app (display name), and title.
  • match=regex (Pro): Regular expressions must explicitly specify both field and match=regex. Every regex evaluation is protected by a 50ms timeout fuse.
  • Drag-to-Detect: Drag the crosshair target in the main window or rule editor onto any desktop app to capture its executable, Bundle ID, or window title automatically.

Supported Keystroke Sequence Placeholders (Pro)

{USERNAME} {PASSWORD} {TOTP} {FIELD:FieldName} {TAB} {SHIFT+TAB} {ENTER} {DELAY 500}

Common Rule Examples

Windows · Exact EXE
wardtype://win/steam.exe?field=exe
macOS · Bundle ID
wardtype://mac/com.corp.vpnclient?field=bundle
Windows · Regex Title + Custom Field Sequence (Pro)
wardtype://win/^Finance.*?field=title&match=regex&seq={FIELD:Tenant}{TAB}{USERNAME}{TAB}{PASSWORD}{ENTER}

5. Security Boundaries & WardTypeData/

  • Windows Private Pipe Fast Mode: Enabled by default on Windows. Each unlocked account reuses a local Bitwarden CLI worker over a user-scoped preconnected named pipe—zero TCP ports opened. Locking, system suspend, or app exit terminates the worker automatically.
  • Focus Re-Verification & UIPI Protection: WardType follows Capture → Search → Confirm → Re-Verify & Type, verifying Windows HWND/PID/TID or macOS window ID right before typing. For elevated Administrator windows isolated by Windows UIPI, WardType offers ephemeral secure copy or one-click elevated restart.
  • Custom Language Packs: 4 languages (zh-CN, zh-TW, en-US, ja-JP) ship embedded inside the binary with zero extra files created on startup. Drop standalone JSON packs into WardTypeData/locales/ on demand and click Reload Packs.
  • Source-Available Auditability: WardType source code is publicly available for review and security auditing under the WardType Personal Use License (free for personal, noncommercial use; commercial use and redistribution require separate permission).

Portable Directory Layout

On Windows portable builds, WardTypeData/ lives directly next to WardType.exe (on signed macOS WardType.app bundles, it resides in ~/Library/Application Support/WardType/WardTypeData). Back up or migrate by copying this single directory.

WardTypeData/
├── settings.json        # Preferences, shortcuts & sync interval
├── credentials.bin      # Optional encrypted account metadata (no master password)
├── quick-pin.bin        # PBKDF2-SHA256 (210k) + AES-256-GCM Quick PIN store
├── core/<ver>/bw[.exe]  # Verified official Bitwarden CLI OSS binary
├── vault/data.json      # Bitwarden CLI local encrypted vault cache
├── updates/             # SHA-256 verified self-updater staging
└── locales/*.json       # Optional user-added language packs

6. WardType Pro Offline Licensing & Updates

WardType Free (source-available, personal noncommercial use) includes single-vault Auto-Type, exact desktop rules, Quick PIN, Private Pipe Fast Mode, and all safety guards. WardType Pro (WardType Pro Commercial License) unlocks unlimited parallel vaults, regex window matching, global & per-rule custom sequences ({FIELD:Name}), automatic 2FA TOTP clipboard handoff, and silent background auto-sync.

  • Binding Your Machine Code: Open About & Updates → WardType Pro and click Copy Machine Code (starts with WTM1-). Paste it on the Activation Center to bind your offline WT1 license signed with ECDSA P-256.
  • Perpetual Fallback: Every WardType build released on or before your signed updatesUntil date keeps running Pro features forever—verified 100% offline with zero phone-home.
  • SHA-256 Verified Self-Updater: Checks GitHub Releases (with optional HTTPS mirror), enforces file size and SHA-256 digest checks, and performs atomic Windows executable replacement with .bak rollback.