Skip to content

Commit e8852fa

Browse files
committed
Merge branch 'main' into v3n
2 parents a3c77cd + 755dd90 commit e8852fa

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ secp.etc.hmacSha256Sync = (k, ...m) => hmac(sha256, k, secp.etc.concatBytes(...m
8181
secp.etc.hmacSha256Async = (k, ...m) => Promise.resolve(secp.etc.hmacSha256Sync(k, ...m));
8282
```
8383

84-
### nodejs v18 and older: polyfill webcrypto
85-
86-
```ts
87-
import { webcrypto } from 'node:crypto';
88-
// @ts-ignore
89-
if (!globalThis.crypto) globalThis.crypto = webcrypto;
90-
```
91-
9284
## API
9385

9486
There are 3 main methods:
@@ -286,9 +278,9 @@ Use low-level libraries & languages.
286278
### Supply chain security
287279

288280
- **Commits** are signed with PGP keys, to prevent forgery. Make sure to verify commit signatures
289-
- **Releases** are transparent and built on GitHub CI. Make sure to verify [provenance](https://docs.npmjs.com/generating-provenance-statements) logs
290-
- Use GitHub CLI to verify single-file builds:
291-
`gh attestation verify --owner paulmillr noble-secp256k1.js`
281+
- **Releases** are transparent and built on GitHub CI.
282+
Check out [attested checksums of single-file builds](https://github.com/paulmillr/noble-secp256k1/attestations)
283+
and [provenance logs](https://github.com/paulmillr/noble-secp256k1/actions/workflows/release.yml)
292284
- **Rare releasing** is followed to ensure less re-audit need for end-users
293285
- **Dependencies** are minimized and locked-down: any dependency could get hacked and users will be downloading malware with every install.
294286
- We make sure to use as few dependencies as possible

0 commit comments

Comments
 (0)