# Functions
AddPrincipalKey adds new principal to database and authorized_principals file.
DeleteDeployKey deletes deploy key from its repository authorized_keys file if needed.
DeletePublicKey deletes SSH key information both in database and authorized_keys file.
IsErrWontSign checks if an error is a ErrWontSign.
PublicSigningKey gets the public signing key within a provided repository directory.
RewriteAllPrincipalKeys removes any authorized principal and rewrite all keys from database again.
RewriteAllPublicKeys removes any authorized key and rewrite all keys from database again.
SignCRUDAction determines if we should sign a CRUD commit to this repository.
SigningKey returns the KeyID and git Signature for the repo.
SignInitialCommit determines if we should sign the initial commit to this repository.
SignMerge determines if we should sign a PR merge commit to the base repository.
SignWikiCommit determines if we should sign the commits to this repository wiki.
# Structs
ErrWontSign explains the first reason why a commit would not be signed There may be other reasons - this is just the first reason found.