A plugin helps you to copy your two-factor verification code in Powertoys Run
- Download plugin from Release
- Extract it to
%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins
- Download plugin from Release
- Delete
%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins\TOTP
(Will not lose any data) - Extract it to
%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins
-
Add account
Plugin support standard OTPAuth URI (starts withotpauth://
) and Google Authenticator Export URI(starts withotpauth-migration://
), you can paste it to the PT Run input bar and you will see an option to add it to list.
You can use any QRCode scanner to resolve QRCode to link, Accounts with same key in the list will not be added.
You can also add manually by editing config file in%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Community.PowerToys.Run.Plugin.TOTP\OTPList.json
:{ "Version": 2, "Entries": [ { "Name": "Github: Hello", "Key": "12313", "IsEncrypted": false }, { "Name": "Twitter: @Hello", "Key": "12313213", "IsEncrypted": false } ] }
You need to re-enable plugin in PowerToys Run settings to apply changes.
Once the plugin loads the config again, all unencrypted data will be encrypted. -
Delete account
There is no way to delete accounts by GUI.
You delete an account by editing the config file in%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Community.PowerToys.Run.Plugin.TOTP\OTPList.json
. You need to re-enable plugin in PowerToys Run settings to apply changes.
Plugin uses System.Security.Cryptography.ProtectedData
to encrypt every key. All keys will be decrypted in memory if needed.
Encrypted data only can be decrypted in your current machine with the current account login, if you reinstall the OS or change the account you log in to, the key cannot be decrypted.
- Clone repo
- Restore NuGet packages & build