Mathias Fredriksson
c429e0d5f3
test(cryptorand): re-enable number error tests ( #16956 )
...
Realized it was only the `StringCharset` test that lead to panic, the
number tests bypass it by reading via the `binary` package.
2025-03-17 10:39:48 +00:00
Mathias Fredriksson
e6983d8399
test(cryptorand): disable error tests on Go 1.24 ( #16955 )
...
Testing `rand.Reader.Read` for errors will panic (not recoverable) in Go
1.24 and later.
2025-03-17 12:15:52 +02:00
Kyle Carberry
22e781eced
chore: add /v2 to import module path ( #9072 )
...
* chore: add /v2 to import module path
go mod requires semantic versioning with versions greater than 1.x
This was a mechanical update by running:
```
go install github.com/marwan-at-work/mod/cmd/mod@latest
mod upgrade
```
Migrate generated files to import /v2
* Fix gen
2023-08-18 18:55:43 +00:00
Ammar Bandukwala
ca6b9e9368
chore: use robust RNG in cryptorand ( #8040 )
2023-06-17 17:33:40 -05:00
Ammar Bandukwala
ba3e6cea51
hotfix: remove cryptorand.Bool ( #7780 )
...
It caused a CI flake and we we weren't using it anywhere.
`cryptorand.Float64() < 0.5` can be used in the future too.
2023-06-01 17:59:08 +00:00
Ammar Bandukwala
f05609b4da
chore: format Go more aggressively
2023-02-18 18:32:09 -06:00
Kyle Carberry
b0fe9bcdd1
chore: Upgrade to Go 1.19 ( #3617 )
...
This is required as part of #3505 .
2022-08-21 22:32:53 +00:00
Jonathan Yu
2d6804c746
chore: improve coverage of cryptorand package ( #377 )
...
Check error cases in cryptorand functions, such as failures to
read random data and input parameter validation.
2022-02-28 09:50:55 -08:00