No project description provided
Project description
winhotkey
A simple windows hotkey program to allow storage and playback of up to 10 critical.. um.. phrases
The phrases are never saved anywhere and are only kept in memory. This makes it suitable for rapidly typing phrases you need to keep secret.
The phrases are "typed" on a virtual keyboard and are not copy-pasted. This can help with entering phrases on systems that do not allow pasting.
Please note: this is not a password manager (there is no persistent storage of phrases). But you can put your passwords in here for rapid repeating.
Table of Contents
Why
Why did I make this? What problem was I trying to solve?
Like many of you I use a password manager full of barely memorizable and barely typable passwords. But this password manager has two problems. The first is it has a short timeout. If I want to keep accessing, say, my domain admin password I need to re-login over and over to get it. I work around this by pasting the password in a notepad document that I never save. Don't look at me like that, you know you do it too. When I close the notepad, the password is not saved (assuming I disabled the new autosave feature on Notepad in Windows 11).
The second problem is I work with PHI/PII in a heavily virtualized environment. One control we implemented was preventing the use of copy and paste on our remote desktop sessions. Since the password manager uses the clipboard to copy the passwords, they cannot be pasted into these RDP sessions. This means me, and my team, have to type these randomly generated passwords in. This can be very annoying if we need to go to many different servers or services.
Winhotkey solves both of these problems. I put my needed passwords in it when I start my day and can access them on demand by hitting the assigned hotkey. Since Winhotkey actually simulates typing the phrase, it will type into copy-paste restricted input fields. The passwords are never saved to disk and are lost as soon as you stop the process. Winhotkey even has a "Delay Type" function to help you type into console screens that eat your key presses and are copy-paste restricted. I'm looking at you VMWare VMRC.
I hope it helps you out.
Installation
Reminder: Winhotkey only works on windows. It will run on other operating systems but only in a test mode.
pip install winhotkey
This will install the executable script in your path. If this is the first time you've installed a command-line tool via pip you may see some warning about the location of the executable not being in your PATH. Add the indicated location to your PATH variable.
Usage
Start up the GUI:
Add some phrases:
You can also change the assigned keys. Keys must match those used by the keyboard module. Clicking "Set Hotkey" will enable the new keys.
Now there are several ways to use the tools:
You can also use the original CLI verson if interested. But it has way less features and you can't change keys once its running.:
Notes
Limitations
Greatest limitation is it only works on Windows. The security models on OS X and linux prevent it from working well. It will start up in a test mode and simulate responses if you run on anything but Windows.
I believe it is possible to run this in linux if "sudo" it. Making that choice is up to you. The OS check will stil fail, so if you want to run it on linux, you will need to edit the CLI code.
It's entirely possible other programs you have running will block the hot key hooks, which is why the "Delay Type" option exists as described above.
Security
Is it secure? Its as secure as putting your passwords in an unsaved text document. If someone sees your screen, they will see the passwords. The GUI is only accessible from localhost and passwords are never saved to disk. All I can say is: "I'm going to use it"
License
winhotkey
is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file winhotkey-0.0.3.tar.gz
.
File metadata
- Download URL: winhotkey-0.0.3.tar.gz
- Upload date:
- Size: 621.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae628bb38e17805272dc4ae3fdf504c5df8893c0b17ad10f749e40aea01cd847 |
|
MD5 | 85ea7bb7dc3371c7e09a3c3416a8a018 |
|
BLAKE2b-256 | 0000699f4ee58e881afa42ce72f65a79b0fadfa40f3038ade14e164629817e51 |
File details
Details for the file winhotkey-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: winhotkey-0.0.3-py3-none-any.whl
- Upload date:
- Size: 623.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c442ca20f183d0eb67eb2f77ff69c28100e375adcb7ef21c08a724007de59ceb |
|
MD5 | 5c5f89bf6a529bead03618060404628b |
|
BLAKE2b-256 | 5d119117d67b2d755d9e930bd98cdab0d0f33056d72331d5684f0f3ce0ee1bbe |