tknarr / pyauth Goto Github PK
View Code? Open in Web Editor NEWGoogle Authenticator (OTP) application for the Linux desktop
Google Authenticator (OTP) application for the Linux desktop
Basic only, lockfile to prevent other instances from starting.
Keyboard keycode and character events aren't making it to the main frame. This needs resolved before keyboard controls can be enabled.
When the program is started with the toolbar not shown, the first time the toolbar is shown the window loses one entry. Seems related to a Size event occurring after the menu event finishes.
Clean up and document modules, classes and methods.
When trying to install library inside Python 3.7 based virtualenv.
$ pip install PyAuth
Collecting PyAuth
Using cached https://files.pythonhosted.org/packages/17/ca/dffe87cb49dc5057ee1aedb9a6d6e98fc43b6beb0dd2fac8ba45e75cc88e/PyAuth-1.3.0-py2.py3-none-any.whl
Collecting qrcode~=6.0 (from PyAuth)
Downloading https://files.pythonhosted.org/packages/79/be/11999004f7e6e5db0fa410c2feacd67c07f472f4500fde0026101f31d0df/qrcode-6.0-py2.py3-none-any.whl
Collecting wxPython~=3.0 (from PyAuth)
Could not find a version that satisfies the requirement wxPython~=3.0 (from PyAuth) (from versions: 4.0.0a1, 4.0.0a2, 4.0.0a3, 4.0.0b1, 4.0.0b2, 4.0.0, 4.0.1, 4.0.2, 4.0.3)
No matching distribution found for wxPython~=3.0 (from PyAuth)
Switch to using the cryptography
package.
Use the Fernet class for encryption so we get authentication of the encrypted data.
The toolbar starts life with an initial size of 2. If it's visible when the program starts it corrects itself to 36 before the window is completely initialized. If it's not visible at startup it remains 2 until after it's first shown and the main frame size ends up wrong. Sizing also doesn't happen correctly when the toolbar's toggled off or on. These problems need fixed before the hide/show-toolbar function can be enabled.
New entries exist in the in-memory database, but aren't saved to disk until the program exits. The entries also aren't displayed until the program exits and is restarted.
Package for Debian
Sometimes the code will be rejected the first time it's entered on the site, but then be accepted if re-entered. I'm not sure if this is a real bug or just a discrepancy in the system time between the local machine and the server.
Code's needed to insure a single running instance. If the program's run when an instance is still running, the main window for the running instance needs to be shown if it would've been shown for the new instance.
Use a master password to encrypt the secrets while in storage.
Add dbus interface to control visibility and request codes.
X session management needs implemented, we need to store the state of the command-line options to restart.
Implement help system.
Use pkg_resources to access icon and license files instead of direct filenames.
Logging needs to be set to be sent to a file if requested, and the format of entries needs tweaked a little.
The frame isn't resizing in/out in sync with the need for the scrollbar. Deleted entries are also not disappearing when deleted.
Package for PIP and Pypi.
Switch to using the zxing tools to generate and decode QR codes without depending on external services like Google Charts (the current source).
When the program exits without the database ever having been opened, the lockfile isn't deleted. This leads to the program aborting when run until the lockfile is removed manually.
Entries are left visible after deleting them.
Need an icon for the title bar, programs menu and desktop shortcut.
AuthFrame and AuthEntryPanel need reworked into a base class with the underlying functionality and a derived class that implements the GUI and user-interface elements. The original mixed code came from my doing it backwards (GUI elements first, then basic functions) because wxWidgets was the least familiar part of things for me.
Need the following via keyboard:
Occasionally when first opening the main window after being started in the systray, it'll lose one pane from what it should be. The correct number of visible entries is logged when starting, so this appears to be related to sizing the window. Possibly it's a variation of issue #12.
Some enterprise systems use 8-digit codes instead of 6. Add support for displaying these.
An event needs set up to trigger an immediate timer tick or equivalent when the window is unminimized. Timer ticks are suspended while the window's minimized, and currently the gauges won't update until the first tick after the window's unminimized resulting in visible lag.
The program isn't saving configuration when shut down as part of logging out of a desktop session. Update the saving logic to save after every change to insure the configuration stays up-to-date.
Double-clicking an entry should either trigger an edit or copy the code to the clipboard.
4K displays are ~160dpi instead of the normal ~72dpi. Icon sizes need adjusted to be a reasonable size, ditto text and textbox spacing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.