cheatfate / nimcrypto

Nim cryptographic library
MIT License
190 stars 23 forks source link

`tests/testsysrand.nim(1, 17) Error: cannot open file: nimcrypto/sysrand` #76

Open tersec opened 7 months ago

tersec commented 7 months ago

When attempting to either run nimble test or nim c tests/testsysrand.nim from the root nimcrypto directory.

Tested with current git commit:

commit 0c6ddab03a99805239b7875f71d2ca95fbed6f85 (HEAD -> master, origin/master, origin/HEAD)
Author: tersec <tersec@users.noreply.github.com>
Date:   Fri Feb 16 22:02:40 2024 +0000

    use non-EOL macOS version for GitHub Actions CI and rm AppVeyor and Travis configs (#75)

commit a079df92424968d46a6ac258299ce9380aa153f2
Author: Eugene Kabanov <eugene.kabanov@status.im>
Date:   Thu Oct 5 14:45:43 2023 +0300

    Add GCM[T] "traditional" API calls encrypt/decrypt. (#73)

    Add tests for it.
    Add documentation about IV in GCM[T] mode.

and both released Nim versions 1.6.18 and 2.0.2:

Nim Compiler Version 1.6.18 [Linux: amd64]
Compiled at 2024-02-29
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: a749a8b742bd0a4272c26a65517275db4720e58a
active boot switches: -d:release
Nim Compiler Version 2.0.2 [Linux: amd64]
Compiled at 2024-02-29
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: c4c44d10df8a14204a75c34e499def200589cb7c
active boot switches: -d:release

Checked specifically outside the Status environment, in a fresh git clone http://github.com/cheatfate/nimcrypto directory.