Skip to content
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

Use C2SP/wycheproof by import not 'go mod download' #31

Open
jas4711 opened this issue Mar 18, 2025 · 0 comments
Open

Use C2SP/wycheproof by import not 'go mod download' #31

jas4711 opened this issue Mar 18, 2025 · 0 comments
Assignees

Comments

@jas4711
Copy link

jas4711 commented Mar 18, 2025

Hi. I'm considering packaging this module for Debian. We build everything offline, and this piece of code:

// downloadWycheproofTestVectors downloads the JSON test files from
// the Wycheproof repository with `go mod download -json` and returns the
// absolute path to the root of the downloaded source tree.
func downloadWycheproofTestVectors() (string, error) {
        path := "github.com/C2SP/wycheproof@" + wycheproofModVer
        cmd := exec.Command("go", "mod", "download", "-json", path)

This breaks in Debian. Couldn't you import the C2SP module just like some other go module?

Thanks,
Simon

@morambro morambro self-assigned this Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants