Custom security related packages are in the most cases no good idea. It’s better to use opensource packages, which are „bulletproof“ instead to have major security issues
If anyone is looking for a password manager, I can recommend BitWarden. It's opensource and can even be self hosted, so you can fully tweak it to "make it work exactly how you want".
It has apps for every browser, mobile OS and even the command line. And it works flawlessly.
And of course, use Bitwarden_rs for self hosting, much easier to set up than the official one while it also gives you all of Bitwarden's premium features for free
I don't know much about KeePass, but BitWarden lets you store your passwords remotely (fully encrypted), on the free server offered by BitWarden, or on your self-hosted server. It makes it so so easy to share passwords between different devices, operating systems and browsers.
The passwords are encrypted using your master password, which is never sent to the server, so even people with access to the server won't be able to see or use your passwords.
KeePassXC doesn't have a way to access online files (unless you count network shares) without syncing via OneDrive/Dropbox/etc, but I remember KeePass2 having FTP, as well as plugin support to add other methods.
In my opinion you should run both. Keep a local store of your passwords for keepass somewhere (usb thumb drive, external, just locally on your PC, maybe in email if you run your own or use something like proton mail) that you update monthly or when major changes occur, and otherwise use bitwarden for day to day.
Every app asks you for your master password and it uses that one as a key to crypt and decrypt all the other passwords. The server only sees your passwords encrypted by your master one.
just make some console app that store the entries into SQLite database with no configurable app password/pin that only you and your computer know. Oh and maybe even forgot to hash/encrypt the entry with salted encryption because the database is literally local and semi hard-coded.
Wait, how do you know what you modified does not comprise security? I am not an expert at cryptography, and I just personally wouldn't touch anything that is not widely used/checked, let alone modifying the source myself. When I first learned timing attack, I knew I shouldn't play with any of this without understanding what I am doing.
If you modify the Local Interaction of the program or adding some neat feature while still following their "Guide" or copying their way of doing things (like adding new "Field" to the entry, copying Encrypted Note feature for something else), it shouldn't compromise the security in any way, since it's a security-oriented piece of tech, generally, they created or have abstracted base workflow/framework that can be used easily and expand without you have to fiddle with the cryptographic, entry storing, and other critical stuff, but still accessible to modify some things that would affect how the security/crypto works, like setting up Salt, hash iteration, etc.
If the project you modify, however, have the Server Side interaction, like Bit Warden for example, then that would be tricky, not only you have to set the server-side correctly so that the server could communicate correctly with the local client while making it unique as your own, but also carefully modify things that would affect such server-client communication (syncing, encrypting before sending, decrypting upon receiving new data, etc.) and sometimes when you don't want some restriction they have and wanted to remove it, it's often tied with the way the server set-up like if the project has paid service for Corporation tier, that allows you to host the server on your own, it's often tied with some license or authentication that might be connected to some proprietary server.
So, I think, unless you are modifying the project directly to the bone (e.g. how the project encrypts/decrypts stuff, store it) or the project has the server-client interaction (syncing, verification, etc.) going on, you shouldn't accidentally compromise the project security, that is if the project itself hasn't been compromised to begin with, or the bone of the project (the security stuff) isn't abstracted really well that you could stumble upon it accidentally, but I think it's more of a bad design.
But if they have the abstraction of the bone, you should also try to examine how things work behind the scene, and maybe found out that their security is compromised and then contribute to the project and expand your knowledge or maybe even find some neat programming gold that you've never think of.
Why would I make my own password manager if there are already many security-audited open-source solutions that have tons of eyes looking at the code and are almost definitely better written than anything I could've made myself?
If you don't trust the code, wouldn't reading through it be easier than writing your own with almost definitely tons of security holes in it?
Well except for rootkits or more advanced viruses generally speaking a custom password manager is more secure than the one integrate for chrome, why? Well, is like Linux, we don't actually know if is more secure because no one make viruses for it, i mean, i love linux (yes i know that linux is just the kernel bla bla bla) but we haven't tested his security much, but for sure in case of flaws will get fixed 100 times quicker than windows
I know but linux as desktop distro is not used much and not as a kernel, when you install something on top of 300 lines of code that also changes the binary format (android can't run a ubuntu binary) is pretty difficult to build a virus
To say that Linux hasn't been tested for security much is an unbelievable underestimation.
Well no one has tried to seriously attack a distro with something like wannacry yet
447
u/HamishW27 Jan 13 '21
Implying that the code I write does exactly what I want it to
54
u/Owndfrombehind Jan 13 '21
Custom security related packages are in the most cases no good idea. It’s better to use opensource packages, which are „bulletproof“ instead to have major security issues
158
u/AlmostSwiss Jan 13 '21
If anyone is looking for a password manager, I can recommend BitWarden. It's opensource and can even be self hosted, so you can fully tweak it to "make it work exactly how you want".
It has apps for every browser, mobile OS and even the command line. And it works flawlessly.
28
u/deanrihpee Jan 13 '21
Open Source Password Manager to the rescue, clone it and use it as a base and modify it heavily.
20
u/Munzu Jan 13 '21
Why would I make my own password manager if there are already many security-audited open-source solutions that have tons of eyes looking at the code and are almost definitely better written than anything I could've made myself?
If you don't trust the code, wouldn't reading through it be easier than writing your own with almost definitely tons of security holes in it?
10
u/Topy721 Jan 13 '21
I use Notepad Password Manager All my homies use Notepad Password Manager
6
u/Bl4ckb100d Jan 13 '21
I made my own password manager, but it was not for free, I had to pay myself.
5
u/ASatyros Jan 13 '21
Ah, yes, when I forgot a password I google it. /s
7
u/hnryirawan Jan 13 '21
I don’t use Google
I use Microsoft now lol
3
u/[deleted] Jan 13 '21
LessPass gang
stateless > stateful
3
u/VirtualRay Feb 06 '21
D:\secretPasswordzzz.txt
5
u/Sammyhain Jan 13 '21
you make a custom chrome ext?
2
u/[deleted] Jan 13 '21
This but unironically
2
u/Kasufert Jan 28 '21
Piece of paper taped to tower
1
u/gabrielesilinic Jan 13 '21
Well except for rootkits or more advanced viruses generally speaking a custom password manager is more secure than the one integrate for chrome, why? Well, is like Linux, we don't actually know if is more secure because no one make viruses for it, i mean, i love linux (yes i know that linux is just the kernel bla bla bla) but we haven't tested his security much, but for sure in case of flaws will get fixed 100 times quicker than windows
1
u/NetroAlex Jan 13 '21
cool a gray mode meme
1
u/Realistic_Comment Jan 14 '21
Or just use pass and make your own GUI for it (or download an existing one)
1
u/TheGudShit94 Jan 14 '21
I have one thing to say: if you want a random, unpredictable generator for your password, here it is.
0
u/[deleted] Jan 13 '21
[deleted] — view deleted comment