MCPcopy Index your code
hub / github.com/git/git / get_signing_key

Function get_signing_key

gpg-interface.c:950–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948}
949
950char *get_signing_key(void)
951{
952 gpg_interface_lazy_init();
953
954 if (configured_signing_key)
955 return xstrdup(configured_signing_key);
956 if (use_format->get_default_key) {
957 return use_format->get_default_key();
958 }
959
960 return xstrdup(git_committer_info(IDENT_STRICT | IDENT_NO_DATE));
961}
962
963const char *gpg_trust_level_to_str(enum signature_trust_level level)
964{

Callers 5

generate_push_certFunction · 0.85
get_ssh_key_idFunction · 0.85
get_signing_key_idFunction · 0.85
sign_bufferFunction · 0.85
do_signFunction · 0.85

Calls 3

gpg_interface_lazy_initFunction · 0.85
xstrdupFunction · 0.85
git_committer_infoFunction · 0.85

Tested by

no test coverage detected