Skip to content

Instantly share code, notes, and snippets.

@jeroen
Created September 14, 2021 18:31
Show Gist options
  • Save jeroen/c9a52f268d1fc7a5c39a151643288e04 to your computer and use it in GitHub Desktop.
Save jeroen/c9a52f268d1fc7a5c39a151643288e04 to your computer and use it in GitHub Desktop.
read pubkey from certs
input <- jsonlite::fromJSON('https://www.googleapis.com/robot/v1/metadata/x509/[email protected]')
certs = lapply(input, openssl::read_cert)
certs[[1]]$pubkey
certs[[2]]$pubkey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment