webcrypto-liner icon indicating copy to clipboard operation
webcrypto-liner copied to clipboard

webcrypto-liner is a polyfill that let's down-level User Agents (like IE/Edge) use libraries that depend on WebCrypto. (Keywords: Javascript, WebCrypto, Shim, Polyfill)

Results 39 webcrypto-liner issues
Sort by recently updated
recently updated
newest added

So I hate this one but the number one ask from PKIjs users is to be able to open and create PKCS#12 files that Windows will like. Unfortunately, Windows supports...

enhancement

Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

Adding NodeJS `crypto.webcrypto` [per this issue](https://github.com/PeculiarVentures/webcrypto-liner/issues/85). [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node/crypto.d.ts#L1588) typescript definition is incomplete, created local variable with `:any` for the time being.

Since integration of the ECDH_ES mech is waiting on [this issue](https://github.com/indutny/elliptic/issues/243), and I need x25519 for a project, I integrated a different [crypto library](https://github.com/harveyconnor/curve25519-js) for the time being. Seems to...

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of...

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

When using webcrypto-liner with typescript >4.2.4 I get the same error as discussed in [this webcrypto-core issue](https://github.com/PeculiarVentures/webcrypto-core/issues/38). Looking at the webcrypto-liner `package.json` it is still using `"webcrypto-core": "^1.2.0"`

Running into an error generating new keys: `TypeError: exports.nativeCrypto.getRandomValues is not a function` Understand shimming `getRandomValues` for each environment, suggest using [randomFillSync](https://nodejs.org/api/crypto.html#crypto_crypto_randomfillsync_buffer_offset_size). Can work on a pull if interested.

In Node >=15.x, the WebCrypto API allows destructuring of SubtleCrypto methods: ``` import { webcrypto } from 'crypto'; ... let { importKey, exportKey } = webcrypto.subtle; const keys = await...

Based on the conversation in PeculiarVentures/PKI.js#164 I'm hoping I can get help with adding the `Ed25519` curve to webcrypto-liner. It looks like @microshine just added `secp256k1` -- I'm assuming the...