idstack
idstack copied to clipboard
Extension stores the Gemini API key in chrome.storage.sync
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.