idstack icon indicating copy to clipboard operation
idstack copied to clipboard

Extension stores the Gemini API key in chrome.storage.sync

Open savvides opened this issue 3 weeks ago • 0 comments

extension/shared/storage.js:9,19 saves apiKey with chrome.storage.sync. Chrome then copies the key to every device on the user's Google account.

Done when the key is in chrome.storage.local, and a one-time migration moves a key from sync to local and then deletes it from sync. Without that migration, existing users lose their key. Add a test in test/test-extension.sh.

Found in the pre-share reliability review.

savvides avatar Nov 13 '26 13:11 savvides