Commit graph

3 commits

Author SHA1 Message Date
Pat Zielinski
4aec9d0ccb *: Add hook invocation functionality
Signed-off-by: Pat Zielinski <70954403+patzielinski@users.noreply.github.com>
2025-04-07 16:17:01 -04:00
Pat Zielinski
4c763932b3 *: Add management functionality for GUPPIEs
Signed-off-by: Pat Zielinski <70954403+patzielinski@users.noreply.github.com>
Co-authored-by: Aditya Sirish A Yelgundhalli <ayelgundhall@bloomberg.net>
Co-authored-by: Jamal Cao <jamaltheodds@gmail.com>
Co-authored-by: yashobapat <f20210006@goa.bits-pilani.ac.in>
2025-03-17 10:50:13 -04:00
Lukas Puehringer
d4b5116d52 Add new ssh package based on ssh-keygen
* A Key struct, similar to tuf.Key, to be included in TUF metadata (not
  yet implemented), which implements the DSSE Verifier interface, to
  verify signatures created with Signer.

* A Signer struct, which implements the DSSE Signer interface, to create
  signatures using `ssh-keygen` and a path to a key.

* An Import function, to import a Key using `ssh-keygen` and a path to a
  key.

For signing and Key import paths to either public or private, plaintext
or encrypted, rsa, ecdsa or ed25519 keys are supported (akin to git's
user.signingKey configuration).

Also adds basic smoke tests for the `ssh` package, and replaces updates
dsse tests to use this module.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2024-05-27 17:02:39 +02:00