Ask HN: What is your password management solution?
This is my password manager.<p><pre><code>    password = b64encode(hashlib.pbkdf2_hmac(
        &#x27;sha256&#x27;,
        (master_password + &#x27;&#x2F;&#x27; + domain).encode(),
        b&#x27;&#x27;,
        100000 + n
    )).decode()[0:16] + &#x27;Aa$1&#x27;
</code></pre>
master_password = some master password that you never write or store anywhere<p>domain = domain name for the service in question, e.g. &#x27;facebook.com&#x27;<p>n = the nth password being generated for the domain (typically 0)<p>The &#x27;Aa$1&#x27; is to ensure satisfaction of stupid password rules on various websites.<p>Advantages:<p>- Open source. You don&#x27;t have to use some random person&#x27;s password manager software that you have no clue how or where the passwords are being stored or the trustability of the people who wrote the software.<p>- Portability. You can run this on any OS including a phone with a Python implementation, and it&#x27;s pretty easy to port the above to any other language with a hash library.<p>- No files to lose. You don&#x27;t need to worry about losing a password manager&#x27;s database, you don&#x27;t need to worry about syncing the database across machines, and you can compute the above on any machine that you own and trust. Kernel panics while you&#x27;re on vacation? No worries! Reformat your PC with a fresh Ubuntu install and compute the above to get access to your bank account, plane tickets, and e-mail again.