fix: pull gpg key from keybase

This commit is contained in:
Tom Hu 2024-03-06 18:05:42 -08:00
parent 54bcd8715e
commit a873fd5547
No known key found for this signature in database
GPG key ID: 79155678363963D2
4 changed files with 9 additions and 57 deletions

5
dist/index.js vendored
View file

@ -32685,12 +32685,13 @@ const verify = (filename, platform, version, verbose, failCi) => validate_awaite
}));
};
// Import gpg key
gpg.call('', [
const pgpKeyRes = yield (0,undici.request)('https://keybase.io/codecovsecurity/pgp_keys.asc');
const pgpKey = yield pgpKeyRes.body.text();
gpg.call(pgpKey, [
'--logger-fd',
'1',
'--no-default-keyring',
'--import',
__nccwpck_require__.ab + "pgp_keys.asc",
], (err, importResult) => validate_awaiter(void 0, void 0, void 0, function* () {
if (err) {
setFailure('Codecov: Error importing pgp key', failCi);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long