feat: allow signing git commits from scaffolder

adds support to sign git commits with configured PGP key in scaffolder
actions. configuration can be done either by integration or by using the
default signing key in the scaffolder config. note that this
pgp-plugin is used for signing and that it is limited to using RSA keys
and signatures made with SHA1 hashing algorithm.

this change does not support github commit signing as it cannot be done
the same way due to GitHub app and REST API being used.

closes #25934

refers to #26333

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-08-29 08:40:14 +03:00
committed by Hellgren Heikki
parent 37416e06d6
commit 4f8b5b66a1
34 changed files with 473 additions and 26 deletions
+4
View File
@@ -27,6 +27,10 @@ export interface Config {
email?: string;
};
/**
* Default PGP signing key for signing commits.
*/
defaultCommitSigningKey?: string;
/**
* The commit message used when new components are created.
*/