| 948 | } |
| 949 | |
| 950 | char *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 | |
| 963 | const char *gpg_trust_level_to_str(enum signature_trust_level level) |
| 964 | { |
no test coverage detected