User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
FYI if you use the translation addon polyglot: it stores API keys and passwords in nvda.ini in cleartext. If your NVDA log level is anything above info, those values will be written to nvda.log, even if the addon was disabled or removed at the time. I have filed an issue and PR, and am sure this will be fixed shortly. But in the meantime, if you use this addon and have filed any bugs with or with any other addon, and included a copy of nvda.log, you must rotate all API keys and passwords for all of your translation services. github.com/cary-rowen/polyglot/issues/20
4
21
2
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
Also I think @FreakyFwoof has a tool to help you clean this up, but I'm failing to find the link to it sadly.
1
1
0
0
User avatar
James Scholes @jscholes@dragonscave.space
3d
@fastfinge github.com/OnjLouis/NVDASync/releases/latest @FreakyFwoof
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
@jscholes @FreakyFwoof Is that the one that allows deleting unused config sections from nvda.ini for uninstalled addons?
1
0
0
0
User avatar
James Scholes @jscholes@dragonscave.space
3d
@fastfinge Yes. @FreakyFwoof
1
0
1
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
@jscholes @FreakyFwoof If you're interested, Andre, it would be pretty easy for codex or claude to add regular expressions to detect if things that look like OpenAI, ElevenLabs, and other popular kinds of API keys are in nvda.ini, and warn the user. I suspect lots of other addons do this, when they really shouldn't. Windows has an encrypted locker, like keychain on mac, that addon authors should be using.
1
0
0
0
User avatar
James Scholes @jscholes@dragonscave.space
3d
@fastfinge On one hand, I think NVDA add-on code quality is through the floor. Some add-ons don't even store things in the NVDA config to start with, and a "why do X when Y is easier?" attitude is rife.

On the other, I'd be pretty annoyed if I copied a portable copy of my NVDA to a new machine and couldn't use an add-on because it had stored encrypted secrets on another Windows machine. My knowledge that per-machine secrets are a best practice wouldn't stop me from being annoyed.

Then there's the issue of portable copies storing things persistently on the host machine if users were to configure such add-ons there.

These problems have solutions. But, see my first hand.
@FreakyFwoof
2
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
@jscholes @FreakyFwoof Unfortunately, nvda.ini has all of its values logged when debug logging is turned on. So it doesn't matter if it's annoying or not. Passwords and API keys cannot go into nvda.ini. If they do, every user who files any bug report against NVDA or any NVDA addon has now leaked all of there API keys and passwords, in public, for anyone in the world to use. There's just no way around that.
2
0
0
0
User avatar
Pratik Patel @ppatel@mstdn.social
3d
@fastfinge It's one of the reasons why I only paste snippets of my log when filing issues. I'd rather not send my entire log. @jscholes @FreakyFwoof
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
@ppatel @jscholes @FreakyFwoof At least in the case of NVDA themselves they will close issues without a full debug log.
1
0
0
0
User avatar
Pratik Patel @ppatel@mstdn.social
3d
@fastfinge Hmm. I've never needed to post the full log, just the relevant parts. @jscholes @FreakyFwoof
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
@ppatel @jscholes @FreakyFwoof Recent policy changes maybe? I was told an issue I filed last week would not be acted on without a full debug log.
1
0
0
0
User avatar
Pratik Patel @ppatel@mstdn.social
3d
@fastfinge Wow. This doesn't make sense unless people are filing reports aided by AI somehow and not providing evidence. @jscholes @FreakyFwoof
1
0
0
0
User avatar
🇨🇦Samuel Proulx🇨🇦 @fastfinge@interfree.ca
3d
@ppatel @jscholes @FreakyFwoof I know several junk pull requests using AI were filed In July. No idea about issues.
0
0
0
0