Keep It Simple Post

main
Sufyaan 1 year ago
parent 7409f780a2
commit 11c87e9b4c

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<title>(POST) KeePass + Syncthing</title> <title>(POST) Keep It Minimal</title>
<link rel="icon" type="image/x-icon" href="../../images/favicon.webp"> <link rel="icon" type="image/x-icon" href="../../images/favicon.webp">
<link rel='stylesheet' type='text/css' href="../../style.css"> <link rel='stylesheet' type='text/css' href="../../style.css">
<link rel='stylesheet' href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" media="all"> <link rel='stylesheet' href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" media="all">
@ -12,29 +12,28 @@
<body> <body>
<a href="../../"><div style="text-align:center"><img src="../../images/sufyaan.webp"></div></a> <a href="../../"><div style="text-align:center"><img src="../../images/sufyaan.webp"></div></a>
<hr/><p><a href="../../">sf.cu</a> > <a style="color:#bd93f9" href="../">Blog</a> > <a style="color:#bd93f9" href=".">KeePass + Syncthing</a></p> <hr/><p><a href="../../">sf.cu</a> > <a style="color:#bd93f9" href="../">Blog</a> > <a style="color:#bd93f9" href=".">Keep It Minimal</a></p>
<h1><i class="fa fa-key" aria-hidden="true"></i>KeePass + Syncthing</h1> <h1><i class="fa fa-adjust" aria-hidden="true"></i>Keep It Minimal</h1>
<p style="font-size:110%"><strong>Posted on 23 June 2023</strong></p><p><strong>Categories: </strong><a style="color:#ff79c6" href="../software/"><i class="fa fa-laptop" aria-hidden="true"></i>Software</a></p> <p style="font-size:110%"><strong>Posted on 27 June 2023</strong></p><p><strong>Categories: </strong><a style="color:#ff79c6" href="../software/"><i class="fa fa-laptop" aria-hidden="true"></i>Software</a></p>
<p>I have decided to switch from a self-hosted Vaultwarden (Bitwarden) instance to using KeePass along with Syncthing to sync it to all my devices. There are numerous reasons why I decided to make this change.</p> <p>In technology, you should keep it simple as much as possible. The KISS philosophy and the UNIX philosophy especially must be followed if you want quality software. Most pieces of famous software nowadays do not follow this guideline and it is costing millions of people dearly.</p>
<h2><i class="fa fa-lock" aria-hidden="true"></i>Security</h2> <h2><i class="fa fa-bars" aria-hidden="true"></i>Why Minimal?</h2>
<p>The offline nature of KeePass makes it so that it is nearly impossible to crack. Connecting things to the internet makes it trivial for a script kiddie thousands of kilometers away from you to attempt to crack your passwords. A password manager is a place where all of your passwords are stored. Due to this very reason, I decided to upgrade my security by moving to a reputed piece of software.</p> <p>Simply put, a piece of minimal software:</p>
<p>It has a plethora of security features. Firstly, it has the ability to generate passwords of any length. It allows you to choose what characters are allowed. Its generation is so complex and liberating that even foreign characters like <code>Æ</code>, <code>É</code>, or even mathematics symbols and arbitrary symbols that no one would care about can be used. For example, the division sign (÷) or the copyright symbol (©) are included in password generation. Since most hackers try alphanumeric character cracking, KeePass password generation can make your passwords practically impossible to crack.</p>
<p>The encryption algorithm used for your password database is AES-256, commonly known as 256-bit encryption. It is a form of encryption that is so difficult to crack that the only way you can actually hope to obtain someone's password is by phishing them or using external methods. For more information, please <a href="https://yewtu.be/watch?v=S9JGmA5_unY">watch this video by 3Blue1Brown.</a> It is extremely interesting.</p>
<p>In fact, KeePass is so secure that even the passwords that are stored in your memory while you are viewing your database is encrypted. That way, even a <a href='../../definitions/management-engine' style='color:#50fa7b'>management engine</a> attack will not work. If you want to try viewing the cleared memory sectors to find remnants of your passwords, good luck. The passwords which are stored in your memory are first overwritten to the point of unrecoverability before being cleared.</p>
<p>You can even setup a keyfile (a file you need to use to login), a <a href='../../definitions/security-key/' style='color:#50fa7b'>security key</a>, or both.</p>
<h2><i class="fa fa-code" aria-hidden="true"></i>View. The. Code.</h2>
<p>KeePass is open-source under the GPLv2 license, which is the best open-source license for people's freedom. That makes it <a href='../../definitions/free-software/' style='color:#50fa7b'>free software</a>.</p>
<h2><i class="fa fa-user" aria-hidden="true"></i>The Encryption Never Stops</h2>
<p>Along with KeePass, I use Syncthing to sync my database. Syncthing also uses cryptographic encryption. This makes it so that anyone who wants to brute-force my database needs access to both my Syncthing password and my KeePass password.</p>
<h2><i class="fa fa-book" aria-hidden="true"></i>To Conclude...</h2>
<p>I use KeePass along with Syncthing for three reasons.</p>
<ol> <ol>
<li>KeePass is extremely secure. It has industry-standard protection methods and algorithms and its offline nature makes it practically uncrackable.</li> <li>Is easier to maintain</li>
<li>It is fully <a href='../../definitions/free-software/' style='color:#50fa7b'>free software</a> under the GPLv2 license</li> <li>Has a dearth of bugs</li>
<li>Syncthing is also encrypted, which means that an attacker who wants to attack me using the internet needs to crack both my Syncthing password and KeePass password which would take billions of years.</li> <li>Runs fast on all devices</li>
<li>Is easily extensible</li>
<li>Helps avoid complications</li>
<li>Contributes to the world</li>
</ol> </ol>
<p>I am probably never going to switch back because this system works extremely well. Syncthing is very fast at staying up-to-date.</p> <p>Let's expand on the first and second points. Why is minimal software so easy to maintain? Why do developers hate being developers when they are working with bloated pieces of software? Keeping software minimal gives developers the opportunity to easily find code that is slowing down the whole program or is inefficient. It also helps developers find bugs easy. This is because a smaller codebase means that it takes less time to review the code. A group of 10 people can easily perfect a program whose codebase is less than 1500 lines. After that, it is just a work of maintaining the program and making sure that any requests that users have are answered.</p>
<p><a href="mailto:sufyaan@counterhawks.com?subject=Switching%20To%20FFmpeg">>>> Reply To Me</a></p> <p>Minimal software runs fast on all devices. It is simply no contest. A 1000-line Python program is going to be much faster than a 100K-line C program even though C is much faster than Python. Inefficiencies and lackluster execution of functions in a program can be much easily spotted in a smaller program. There is a huge disregard for old computers. People simply cannot use old computers anymore because the software that they use is so inefficient that their computer struggles to do basic things. For example, they use Adobe Reader to open PDFs which is one of the worst things to do. Adobe Reader takes an incredibly long time to open considering the fact that they are the ones that invented PDFs. Another example is Word. Why does Word take long to open and write on? It's code is bloated. Think of Zathura. It is a PDF viewer that follows the UNIX philosophy of doing one thing well. Even on the slowest of computers, Zathura takes milliseconds to open a PDF. Think about LaTeX. You do the writing then you compile the document into a PDF. It does everything from linking, referencing, bibliographies much better than Word. In fact, it is so good that many universities require its use f</p>
<p>Minimal software can be extensible as per the UNIX philosophy. Instead of creating a massive program that tries to do everything, minimalist programs create modules for certain functions. This makes troubleshooting a piece of cake as the initial confusion of finding out what exactly causes the error is practically eliminated. For example, if you are making a login page and the authentication does not work, you know that you should look in the authentication module. However, if you make it all in a single program, it is difficult to root out whether an issue is due to an incorrect variable type or a redundant function.</p>
<p>All of this helps developers to avoid complications. No team wants another error or speed complaint in the middle of another issue. All of the advantages listed thus far help developers have peace of mind.</p>
<p>Finally, minimal pieces of software can be liberated and made into free software to contribute to the world. Once the initial stages of bug-fixing and optimization is over, it is just a matter of letting the world find ways to make the program better. An inefficiency that no one would spot otherwise can be ironed out by a top-tier programmer who worked in a plethora of huge companies with decades of experience. It also helps budding developers learn about development.</p>
<h2><i class="fa fa-code" aria-hidden="true"></i>Closing The Program</h2>
<p>To sum it up, everyone should use and develop minimal software if possible. This is because minimal software is easier to maintain, debug and optimize due to its smaller codebase. It also runs fast on all devices and avoids complications during development time. Minimal software can also be liberated into free software which will allow talented developers to review the program and contribute to the world.</p>
<p><a href="mailto:sufyaan@counterhawks.com?subject=Keep%20It%20Minimal">>>> Reply To Me</a></p>
<p style="text-align:center;"><a href="../keepass-syncthing/" style="color:#bd93f9"><i class="fa fa-angle-double-left" aria-hidden="true"></i>Previous Post</a></p> <p style="text-align:center;"><a href="../keepass-syncthing/" style="color:#bd93f9"><i class="fa fa-angle-double-left" aria-hidden="true"></i>Previous Post</a></p>
<hr/> <hr/>
<footer> <footer>

Loading…
Cancel
Save