Automic VaultAutomic Vault

brew

Install dbhash with Homebrew

Computes the SHA1 hash of schema and content of a SQLite database. Version 3.53.3 via Homebrew; verified 2026-06-27.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install dbhash

local Homebrew formula metadata

overview

Package summary

Computes the SHA1 hash of schema and content of a SQLite database

Commands and aliases

  • dbhash

history

Project history and usage

dbhash is an SQLite command-line utility that computes a SHA1 hash of a database's schema and content, ignoring storage-level details that do not change the represented data. It is packaged separately in some ecosystems because it is a useful database-inspection tool even for users who are not building SQLite itself.

Project history

The official SQLite documentation describes dbhash as part of SQLite's source tree, implemented by the single C source file tool/dbhash.c. The SQLite source repository is a Fossil repository whose README says it contains SQLite source history going back to May 2000.

Adoption history

dbhash is a specialist utility rather than a broad application. Its adoption comes from SQLite's ubiquity: database users often need to compare two SQLite files whose on-disk bytes differ after VACUUM, page-size changes, journal-mode changes, backup, or other operations, while the logical schema and content remain equivalent.

How it is used

Users run dbhash with one or more SQLite database files and compare the resulting hashes. The official documentation also notes options for restricting hashing to specific tables, content only, or schema only, making it useful in tests, release checks, and remote verification where transferring a whole database would be expensive.

Why package nerds care

For package maintainers and database-heavy developers, dbhash is a small example of SQLite's tool-first culture: a single-purpose binary built from the canonical source tree that solves a real reproducibility problem better than hashing database files byte-for-byte.

Timeline

  • 2000: SQLite source repository history begins, according to the official repository README.
  • 2025: The dbhash documentation page records a May 2025 update.
  • Present: The official docs describe building dbhash from the canonical SQLite source tree.

Related projects

  • dbhash is closely tied to SQLite itself and related SQLite maintenance tools. It complements SQLite backup, VACUUM, REINDEX, ANALYZE, and schema inspection workflows by comparing logical database content.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for dbhash. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dbhashcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.53.3
manager updated2026-06-27
local dataok
upstreamnot checked
latest detectednot detected

https://www.sqlite.org/dbhash.html

install metadata

Package metadata

Package keybrew:dbhash
Version3.53.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dbhash
Homepagehttps://www.sqlite.org/dbhash.html
Repositoryhttps://sqlite.org/src
Upstream docshttps://www.sqlite.org/dbhash.html
Licenseblessing
Source archivehttps://www.sqlite.org/2026/sqlite-src-3530300.zip
Last updated2026-06-27T14:08:56Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedbhash
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment