FiloSottile / age

A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
https://age-encryption.org
BSD 3-Clause "New" or "Revised" License
15.79k stars 477 forks source link

Update minimum Go version #427

Closed mohammed90 closed 2 years ago

mohammed90 commented 2 years ago

The commit 4f7bb44 uses the fuzz testing API of stdlib, which was introduced in go1.18. The declared minimum Go version is 1.17, which precludes the fuzzing API. Update the minimum Go version to 1.18 to accommodate the needs.

FiloSottile commented 2 years ago

Hi! Thank you for the PR. age works well down to Go 1.16 (which is the go mod tidy compatibility target when the go.mod version is Go 1.17). There are a few new tests that require Go 1.18, but I just build tagged those, so they won't break the other tests.