mirror of
https://github.com/vee1e/gittuf.git
synced 2026-09-03 11:17:08 +00:00
Follow Aditya's suggestion to "embed" all needed testfiles (ssh keys and askpass script) as bytes and write them to a tmp dir where needed: https://github.com/gittuf/gittuf/pull/414#discussion_r1618647676 Removes previously added testutils.go **Interesting discovery** In order to sign with an "rsa" key, ssh-keygen seems to expect an "rsa.pub" in the same directory. This is not the case for encrypted rsa, no for plaintext or encrypted ecdsa or ed25519. Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
8 lines
141 B
Go
8 lines
141 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package artifacts
|
|
|
|
import _ "embed"
|
|
|
|
//go:embed testdata/scripts/askpass.sh
|
|
var AskpassScript []byte
|