Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

20 stars

Watchers

2 watching

Forks

Repository files navigation

parse-asn1

TRAVIS NPM

js-standard-style

utility library for parsing asn1 files for use with browserify-sign.

Security

When decrypting an encrypted PKCS#8 (ENCRYPTED PRIVATE KEY) key, the PBKDF2 iteration count is read from the key's own (unauthenticated) parameters. To avoid an attacker-supplied key forcing unbounded key-derivation work, the iteration count is capped at 10,000,000; a key outside the range 1 … 10000000 is rejected with a RangeError. If you must parse untrusted encrypted PKCS#8 material, still bound its size before passing it in.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

20 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages