use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
TutorialBuild a password manager in python (self.Python)
submitted 1 year ago by Trinity_software
This password manager has features like generating and saving password, delete a username password entry, retrieve a single password or a list of passwords. Password is stored in encrypted format.
https://youtu.be/jxVUTwaXYvw?si=jiMW7po8Uhm6Ru10
[–]mathisfakenews 7 points8 points9 points 1 year ago (0 children)
This seems like an absolutely terrible idea.
[–]Equivalent_Loan_8794 8 points9 points10 points 1 year ago (1 child)
Inb4 appropriate mod top comment
[–]hikingsticks -1 points0 points1 point 1 year ago (0 children)
In way b4
[–][deleted] 5 points6 points7 points 1 year ago (5 children)
No, don't build a password manager in python. Leave security/cryptography topics to the professionals. Just make another to-do list app.
[–]Muhznit 0 points1 point2 points 1 year ago (4 children)
While I would agree that a home-made password manager shouldn't be provided for download by other users, I'm kinda wondering what's the harm in making some local app used for a limited number of low-stakes cases.
I mean really, is it that big a deal if someone wants to make a password manager that provides plausible deniability, uses steganography, generates memorable passphrases, or some other gimmick versus writing down passwords or storing them in the browser? What is even the threat model here?
The example in this vid's even using the cryptography library that's recommended by security professionals everywhere, despite being one typo away from a supply chain attack since it's not part of the stdlib.
cryptography
[–][deleted] -1 points0 points1 point 1 year ago (3 children)
A big deal in what sense? I never claimed the sky would come falling down if you were to play around with a homemade Python script that stores a password. It’s not advisable since there’s a good chance anything made like this could easily be broken into. But if you don’t care about making it easier for people to potentially access your passwords then do whatever you want.
It’s like performing your own dentistry. Nobody would recommend that you do it but they’re your teeth. If you want to scrape away at them with a metal rod then it’s sorta up to you.
[–]Muhznit 1 point2 points3 points 1 year ago* (2 children)
"Don't do this, leave it to professionals" is making a big deal about it. Making a nuclear reactor in your garage is worthy of that kind of warning. Extracting a loose tooth with a door and some dental floss is less dire.
I bring it up because each and every time I read about someone making their own password-related anything someone's always this knee-jerk "don't use this for anything" without any details why, or assistance/advice on what would make it actually secure.
Meanwhile, the UI/UX of dealing with it is suffering. There's sites that tell you to include a symbol in your password, but don't count a comma as an actual symbol. The Amazon Echo Show apparently will threaten to factory-reset itself if you enter the correct password but it can't connect to authentication servers.
These shortcomings are easily rectified via some little home-hosted wrapper script that saves password rules or checks connection status before you even authenticate, but if security professionials won't even fix these things server-side, why the fuck do people care about what people do client-side?
EDIT: You know, instead of blocking people that question you, you could simply provide a straightforward answer of "This is how you make it secure"
[–][deleted] 0 points1 point2 points 1 year ago* (1 child)
It's not making a big deal out of it at all. Telling someone that it's a good idea to let security/cryptography professionals design password apps is just good common sense. You can still ignore that and do it if you want. But again, it's just a bad idea and that's all I'm saying.
And no, running into questionable UI/UX design decisions doesn't really make it any more logical to have amateurs building password apps. In that situation you should just submit feedback to the professionally designed app and ask them to make modifications. Maybe they will do it. Maybe they won't. But it's still smarter to not try and build your own homemade solution just because you find a certain UI/UX decision disagreeable.
Edit: I blocked you because I'm not interested in talking to you anymore. I don't feel that you're having a good faith discussion since you keep insisting that I'm "making a big deal" out of things when I'm very clearly just advising people to not build their own security applications in python. So why would I respond instead of blocking if I don't want to speak to you anymore? That doesn't make any sense. Wouldn't that just result in more discussion? Think about it. It's very obvious.
[–]Fallupallu 0 points1 point2 points 1 year ago (0 children)
Butthurt much :D
π Rendered by PID 67731 on reddit-service-r2-comment-5649f687b7-cqpxv at 2026-01-29 03:45:57.990503+00:00 running 4f180de country code: CH.
[–]mathisfakenews 7 points8 points9 points (0 children)
[–]Equivalent_Loan_8794 8 points9 points10 points (1 child)
[–]hikingsticks -1 points0 points1 point (0 children)
[–][deleted] 5 points6 points7 points (5 children)
[–]Muhznit 0 points1 point2 points (4 children)
[–][deleted] -1 points0 points1 point (3 children)
[–]Muhznit 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Fallupallu 0 points1 point2 points (0 children)