-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support non-Unix OS #297
Comments
Hey @abstractionfactory, there should be no limitations I'm aware of for using sigstore-go on other operating systems. We can add tests though. |
@haydentherapper thanks for the clarification. I believe, tests on 386 would be nice to have as that's something that presented an issue in OpenTofu for a while. It would also be nice to change the language in the README to make it explicit that non-Unix OS are supported. |
We're constrained here a little bit by what GitHub offers for runners, which I don't think includes any x86 architectures. We do currently run tests on Windows: sigstore-go/.github/workflows/build.yml Line 30 in 5845298
Maybe I'm not fully thinking through this, but For other platforms, like Solaris, I would want to have some way to run regular tests before making any promises! |
@steiza unfortunately, as we discovered, it's not enough to rely on Go because large hard coded numbers can cause overflows, etc. See for example opentofu/opentofu#1266 which blocked us from being stable on Alpine for quite a while. We solved the testing issue on GHA by using the setup-qemu-action for emulation. Regarding Solaris, I think it would be enough if there's a willingness to merge PRs related to these platforms, we don't have a Solaris system to test on either. |
Hey folks, thank you for your work on this library. The documentation currently states that only Unix-like operating systems are supported, which seems to really only apply to the Makefile and other examples, but not for the library itself. The stated
go run
example passes without issues on Windows. In addition, the GitHub Actions workflows already seem to be running on Windows.Officially supporting non-Unix operating systems would make it easier for cross-platform tools to adopt this library as a means of verification. For example, an explicit statement that only Unix operating systems are supported would likely block opentofu/opentofu#307 from even being considered.
On a similar note, there is currently no statement about supporting 32 bit operating systems and GHA is also not running tests on 32 bit.
The text was updated successfully, but these errors were encountered: