IronCoreLabs / IronCoreLabs/ironweb

Can polyfill references be removed?

Open
#100 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
2
Avg merge
2d 15h
Merged PRs (30d)
3

Description

When working on https://github.com/IronCoreLabs/ironweb/pull/97 I came across several references to polyfill as a fallback for cryptographic operations. I don't think these are probably needed anymore.

eg:

```javascript
return NativeAes.decryptDeviceAndSigningKeys(devicePrivateKey, signingPrivateKey, symmetricKey, iv).handleWith(() =>
PolyfillAes.decryptDeviceAndSigningKeys(devicePrivateKey, signingPrivateKey, symmetricKey, iv)
)
```

Maybe everything in the [PolyFilAes file](https://github.com/IronCoreLabs/ironweb/blob/2ea3cb13b39a01a5dd7250a35c9b06eaf5299cbf/src/frame/worker/crypto/aes/PolyfillAes.ts) can be removed? Maybe sjcl can be removed?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.