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

venables / bookshelf-secure-password / 14
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
Jobs 4
Files 2
Run time 33s
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

pending completion
14

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).

17 of 17 new or added lines in 1 file covered. (100.0%)

52 of 52 relevant lines covered (100.0%)

27.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14.1 (TRAVIS=travis CXX=g++-4.8) 20 Feb 2017 07:38PM UTC 0
100.0
Travis Job 14.1
2 14.2 (TRAVIS=travis CXX=g++-4.8) 20 Feb 2017 07:38PM UTC 0
100.0
Travis Job 14.2
3 14.3 (TRAVIS=travis CXX=g++-4.8) 20 Feb 2017 07:38PM UTC 0
100.0
Travis Job 14.3
4 14.4 (TRAVIS=travis CXX=g++-4.8) 20 Feb 2017 07:38PM UTC 0
100.0
Travis Job 14.4
Source Files on build 14
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14
  • 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