Check that the latest release of the package at username/repo has been signed.

retrieve_release_signature(repo, verbose = TRUE)

Arguments

repo

Repository address in the format username/repo

verbose

if TRUE then a message will be returned with information about the signer of the package.

Examples

retrieve_release_signature("hrbrmstr/hrbrthemes")
#> $verified #> [1] TRUE #> #> $reason #> [1] "valid" #> #> $signature #> [1] "-----BEGIN PGP SIGNATURE-----\n\niQIzBAABCAAdFiEE6jzCzOywJa54wkT3HXUpvhTiu6kFAl5hWNwACgkQHXUpvhTi\nu6mW/Q/6AxYnT2108vlDd9avHkAlAzkKfSUyWDaWGZVvFifYtCOWY2sjWSAVPC50\n9jqQWDMnWlaFgofjoXjRhOZDLcnPzHg8y2qlOl6q/cxnyzyVqdLmJIWqPiLjHlhr\nbaeemOvTqQGADkv6kY1RUrJKCXfVjpeubB970v0QKJ0rnHVCxanzpdRRl8phruw3\nbaO3MR0RDqvx4HWFTWPvAjoWTooBoX3r6HK3gHPsFrkYCYrGTmfVacZBKNjvKSCF\nVK7BqGFYY/zAf5y5LjlIeeNWHumaOu0x/8KwznOm97udZgKM6yqp/ExcugKuvvYk\nzGpDhBnAgM2fna1rkdaZfswqWvRznHgKpd32LLo++ZEzMsanYSTrfX+kDegTYvvA\nUlNbbYXFf4ghXlv62v5FJWCccoCA+HZAylVU397mplbDg8ealYfNugR/idCvtveO\nGEdBmIAKQVhQ1fMVekv5BNypD/n186aUSRP+ZmOwdsdjGpjLQUKPUokJO8yQl2Ra\n6KT6roB5YobkLbMQXGrByNsNWfGBqJOG67lfGqYhE01u9enVD4eV+E0OEg2TsuR7\njgWqQPka2x5CvmqMZlUn5bDLOETB7K6z4SnrXoSPDZSwnH2sKjdvmeVWF/umRnjb\nZ00Kng54oLIeUPaJ2iLZAdu0YonXAlckcKkoTfwt2476nryGJtc=\n=hH3T\n-----END PGP SIGNATURE-----" #> #> $payload #> [1] "tree c9e8152e4bc4feead8bf04d0847f661e7abd4215\nparent 1cad21c2c30547cdd2d350bd8c7d4b5421fcfba7\nauthor hrbrmstr <[email protected]> 1583438044 -0500\ncommitter hrbrmstr <[email protected]> 1583438044 -0500\n\nREADME\n" #>
retrieve_release_signature("ironholds/rgeolocate")
#> Latest release is not signed or has not been verified
#> NULL