• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tsmx / mongoose-aes-encryption / 25018140595 / 3
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: searchable-fields
DEFAULT BRANCH: master
Ran 27 Apr 2026 08:35PM UTC
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Apr 2026 08:33PM UTC coverage: 98.734% (-1.3%) from 100.0%
25018140595.3

push

github

tsmx
Add searchable fields feature via HMAC shadow fields

Adds searchable: true field option that enables equality queries on
encrypted fields without weakening encryption. A __search_<fieldname>
shadow field is automatically maintained on save, containing an
HMAC-SHA-256 digest of the plaintext. The HMAC key is derived from the
master key via HKDF-SHA-256, keeping keys cryptographically separate.
The encrypted field itself retains full random-IV AES-256-GCM security.

New exports: encryptForSearch(value, { key }) for use in find() queries.
New test suite: test/searchable.test.js (22 tests).
README updated with feature docs and comparison table row.

138 of 141 branches covered (97.87%)

Branch coverage included in aggregate %.

252 of 254 relevant lines covered (99.21%)

76.56 hits per line

Source Files on job 25018140595.3
  • Tree
  • List 4
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25018140595
  • 69f0ac25 on github
  • Prev Job for on searchable-fields (#25013627140.3)
  • Next Job for on searchable-fields (#25018446235.2)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc