paulmillr / noble-curves

Audited & minimal JS implementation of elliptic curve cryptography.
https://paulmillr.com/noble
MIT License
664 stars 62 forks source link

`git clone` fails in Windows #102

Closed felixbrucker closed 9 months ago

felixbrucker commented 10 months ago

When running git clone the clone fails with the following error:

git clone https://github.com/paulmillr/noble-curves
Cloning into 'noble-curves'...
remote: Enumerating objects: 2630, done.
remote: Counting objects: 100% (889/889), done.
remote: Compressing objects: 100% (179/179), done.
remote: Total 2630 (delta 735), reused 825 (delta 710), pack-reused 1741
Receiving objects: 100% (2630/2630), 10.65 MiB | 3.39 MiB/s, done.
Resolving deltas: 100% (1866/1866), done.
error: invalid path 'test/hash-to-curve/BLS12381G1_XMD:SHA-256_SSWU_NU_.json'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

This is because the filename contains a colon, which is not allow on Windows