profile
viewpoint

paulmillr/chokidar 9954

Minimal and efficient cross-platform file watching library

paulmillr/es6-shim 3111

ECMAScript 6 compatibility shims for legacy JS engines

paulmillr/encrypted-dns 1915

DNS over HTTPS config profiles for iOS & macOS

paulmillr/dotfiles 1174

Colourful & robust configuration files and utilities for Mac, Linux & BSD

paulmillr/exoskeleton 888

Faster and leaner Backbone for your HTML5 apps

fsevents/fsevents 544

Native access to MacOS FSEvents in Node.js

ethereum/js-ethereum-cryptography 540

Every cryptographic primitive needed to work on Ethereum, for the browser and Node.js

paulmillr/console-polyfill 432

Browser console methods polyfill.

micromatch/anymatch 348

:bangbang: Matches strings against configurable strings, globs, regular expressions, and/or functions

paulmillr/code-style-guides 164

Idiomatic, widely-used code style guides for various programming languages.

issue commentpaulmillr/noble-curves

Feature: Allow more than 32 bytes to be passed as private key (seed) to Edwards curves

Elliptic is wrong here. It's not standard. Other libraries who have 64-byte private keys split it into 32-byte secret and 32-byte public. If elliptic implements it like you've said, it has behavior which radically differs from everyone else.

Moreover, as you may know, elliptic eddsa implementation is broken, produces invalid results, and is not secure.

mahnunchik

comment created time in 6 hours

issue closedpaulmillr/noble-curves

Feature: Allow more than 32 bytes to be passed as private key (seed) to Edwards curves

Allow more than 32 bytes to be passed as private key (seed) to Edwards curves.

For the compatability with elliptic implementation it would be helpful to be able to pass more then 32 bytes (64 bytes in my case) as a secret.

Edwards curves use a hash of the secret, so more bytes don't reduce security.

https://github.com/paulmillr/noble-curves/blob/62e806cfaf961f58161382351f4def4c0345fbd9/src/abstract/edwards.ts#L421

Preposed solution:

function getExtendedPublicKey(key: Hex, noCheck: boolean = false) {
    const len = nByteLength;
    if (!noCheck) {
      key = ensureBytes('private key', key, len);
    }

closed time in 8 hours

mahnunchik

issue closedpaulmillr/noble-curves

Feature: Allow more than 32 bytes to be passed as private key (seed) to Edwards curves

Allow more than 32 bytes to be passed as private key (seed) to Edwards curves.

For the compatability with elliptic implementation it would be helpful to be able to pass more then 32 bytes (64 bytes in my case) as a secret.

Edwards curves use a hash of the secret, so more bytes don't reduce security.

https://github.com/paulmillr/noble-curves/blob/62e806cfaf961f58161382351f4def4c0345fbd9/src/abstract/edwards.ts#L421

Preposed solution:

function getExtendedPublicKey(key: Hex, noCheck: boolean = false) {
    const len = nByteLength;
    if (!noCheck) {
      key = ensureBytes('private key', key, len);
    }

closed time in 8 hours

mahnunchik

issue commentpaulmillr/noble-curves

Feature: Allow more than 32 bytes to be passed as private key (seed) to Edwards curves

https://github.com/paulmillr/noble-curves/discussions/33

For the compatability with elliptic implementation

key.slice(0, 32)

mahnunchik

comment created time in 8 hours

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 4faa0c81138d2f30e0c96b5e03255a8a5d9bcef5

nostr

view details

push time in 14 hours

pull request commentethereum/js-ethereum-cryptography

Bump @noble/hashes from 1.3.0 to 1.3.1

those two are good @alcuadrado

dependabot[bot]

comment created time in 14 hours

pull request commentnostr-protocol/nips

NIP-112: Encrypted Group Chat

keep in mind that Signal group chats are basically a bunch of 1-to-1 chats. There is no shared secret. I wonder which solution is better.

earonesty

comment created time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha db4dacf859aec059234ff611895a46a2780f3c1b

nostr

view details

push time in a day

push eventpaulmillr/paulmillr

Paul Miller

commit sha cd7edde4acd7c47363a0040671857811f4658177

Update README.md

view details

push time in a day

push eventpaulmillr/paulmillr

Paul Miller

commit sha facbb656748185d6be48300538fbc07fab9f401c

Update README.md

view details

push time in a day

push eventpaulmillr/paulmillr

Paul Miller

commit sha c5f6d42d8278f9e653af5d052e434eebfe7a4ef4

Update README.md

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha d9c11fc2f99350422e6ead02021b8c9b3c2b7c02

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 8bec809b31c9485355ec0cfe586d6dabc143337b

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 9218098dd333898dbc15826f120ed059481935f0

nostr

view details

Paul Miller

commit sha 89ad860591793a2ad939bd509e711fa6199a8e1a

hy

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha cdf760ae76dcd7c51bd217dc6a6240785cef50bf

images

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha c91ec3aeacc2f37491eafad80ebe263ad75088bb

wording

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha ebdc147913a2fed4d344f83edde42666db30addd

info

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 6ec2576565d0bc678fd25fe30e63a92459c7217a

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha f0f2b5f974a5685dbad8fb77da710e13934f7acc

spa

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 7ef749b42650ee24a5abd4dfd82a0152e4593b25

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha d4b24f5f68f6474032d2476ad06f79125ceb218b

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 36aa8ecbbe87bb52d2fbba20e1b5368befc70487

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 4e6d83250c95f527bfa108991d3af400d48f37d1

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 7505f98bf40d19b03e69bff8198f98f6a2a8858c

nostr

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha df410ed5b0304f37b71b6610f59920a578dae724

demos

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha e33b2a3019e75952dc8c8568b4fbced9c04d9e46

demos

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha ea514790ae1b6fa9387ea5802fa1d53bff8bf0e1

Add hy page

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 5b78ec4fac7930d7b51a5019046e854436476783

nostr build

view details

push time in a day

push eventpaulmillr/paulmillr.github.io

Paul Miller

commit sha 496fae06567f663ee9dcce1d6a88cb317c9a1c6f

nostr demo

view details

Paul Miller

commit sha 82e6884a5bbb1d53816aa7eaa4762ea31859b25d

configs

view details

push time in a day

issue commentethers-io/ethers.js

Switch from noble-secp256k1 to noble-curves

@ricmoo try curves 1.1.0 now

paulmillr

comment created time in 3 days

more