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

venables / bookshelf-secure-password / 14 / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/glob-parent-5.1.2
DEFAULT BRANCH: master
Ran 20 Feb 2017 07:38PM UTC
Files 2
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

20 Feb 2017 07:34PM UTC coverage: 100.0%. First build
TRAVIS=travis CXX=g++-4.8

push

travis-ci

venables
Only perform asynchronous, save-time hashing

The original default method of hashing passwords during the `setter`
method was not ideal for node async i/o. The benefit of doing it at
set-time was to immediately hash the password, to prevent any leaking.
To add some of this security to the asynchronous method, we use the
bookshelf `virtuals` plugin, and never set `password` on the model
`attributes` hash.  This will prevent the password from being exposed
during a toJSON call (or other).

52 of 52 relevant lines covered (100.0%)

6.88 hits per line

Source Files on job 14.3 (TRAVIS=travis CXX=g++-4.8)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14
  • Travis Job 14.3
  • 0b8c7f98 on github
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