Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
eme-encryption-scheme-polyfill
Advanced tools
A polyfill to add support for EncryptionScheme queries in EME.
Because this polyfill can't know what schemes the UA or CDM actually support, it assumes support for the historically-supported schemes of each well-known key system.
In source form (index.js
), this is compatible with the Closure Compiler and
the CommonJS module format. It can also be directly included via a script tag.
The minified bundle (dist/eme-encryption-scheme-polyfill.js
) is a standalone
module compatible with the CommonJS and AMD module formats, and can also be
directly included via a script tag. It is about 3.1kB uncompressed, and gzips
to about 1.2kB.
To avoid the possibility of extra user prompts, this will shim EME so long as
it exists, without checking support for encryptionScheme
upfront. The
support check will happen on-demand the first time EME is used.
npm install eme-encryption-scheme-polyfill
<script src="node_modules/eme-encryption-scheme-polyfill/dist/eme-encryption-scheme-polyfill.js"></script>
EmeEncryptionSchemePolyfill.install();
FAQs
A polyfill for the encryptionScheme field in EME
We found that eme-encryption-scheme-polyfill demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.