chore(hermes): remove the Google OAuth client secret #722
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/remove-hermes-google-client"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
secrets/hermes-google-client.yaml.encholds the SOPS-encryptedclient_idandclient_secretof the Google OAuth application Hermes used to read Gmail.It is the second half of the Gmail credential.
gmail.yaml.encheld therefresh token and went with the service source in #717; this is the OAuth client
that issued it.
Nothing references this file. It is in no kustomization, and no script or
Makefile target reads it -- unlike its neighbours
hcloud-token.yaml.encandcodeberg-token.yaml.enc, which the Makefile decrypts by name.Why the first sweep missed it
That search grepped file contents for
hermes. A SOPS ciphertext does notcontain the word anywhere; only the filename does. It surfaced on a final
git ls-treepass over trunk. Worth remembering that encrypted files areinvisible to a content grep.
What this does not do
Removing the file does not delete the OAuth client itself, which still exists in
Google Cloud project
seanio. The grant it issued is revoked -- the refreshtoken was revoked at Google before any of the teardown, and a refresh now
answers
invalid_grant / Token has been expired or revoked. Deleting the clientregistration is a console action.
https://claude.ai/code/session_01GfkEuwuvGSqGyXVuxwT7PA