TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Master Password

100 pointsby kenrosealmost 10 years ago

20 comments

enoch_ralmost 10 years ago
First of all, this looks like an awesome and very well-thought-out implementation, and I&#x27;m sure it&#x27;ll work well for some people!<p>That said, I actually made something very similar to this a while back. Now I use pass instead: <a href="http:&#x2F;&#x2F;www.passwordstore.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.passwordstore.org&#x2F;</a><p>The downsides I didn&#x27;t think about, or didn&#x27;t think would be as annoying as they were, until I started running into them in actual use:<p>- The big one: change your master password? You now have to change <i>all</i> of your passwords for every service you use.<p>- Weird restrictions on password length or allowed characters? Okay, the app gives you options to generate a password with the required parameters, perfect! When you actually use this you realize that that set of parameters is a state that must be stored somewhere. Possibly your brain (&quot;okay, when I log into gmail, I select &#x27;phrase&#x27;, but logging into Bank of America I have to use &#x27;long&#x27;... or was it &#x27;medium&#x27;?). This does not scale.<p>- Need to change a password for a specific service? Again--this has a &quot;site counter&quot;, that works... except now there&#x27;s more state, and you need to remember to use &quot;2&quot; with &quot;gmail&quot; and &quot;5&quot; with &quot;hn&quot; and...<p>Of course, you could (and, didn&#x27;t download to try, but it&#x27;s possible the app does?) store those restrictions&#x2F;site counters somewhere, but now you&#x27;ve lost the main benefit of doing this in the first place (stateless, nothing to sync). In the end, I decided that gpg encryption is secure enough for me.
评论 #9789802 未加载
评论 #9790675 未加载
评论 #9791704 未加载
zozaalmost 10 years ago
It is important to note that there is a security flaw in this scheme that makes it strictly less secure than using a password manager with randomly generated passwords. All an adversary needs in order to generate <i>all</i> of your passwords is your master password. Let&#x27;s walk through the steps of how an adversary can brute force your master password.<p>First, they will need access to a hash of <i>one</i> of the passwords you have generated. Say you use this application for every site you visit, and you have somewhere between 20-30 accounts. If only one of these companies suffers from a password leak, then the adversary will have enough information necessary to brute force your master password and generate your password for all other sites. This means that the sketchy site you created an account on to buy a phone case can result in an adversary gaining your well-protected bank password.<p>Once they have a password hash, they can brute force your master password in the regular way. All other inputs to password generation function are easily obtainable through minimal social engineering or guessing (your name, the site name, number of re-generations). I will note here that they did use scrypt, which makes brute-forcing more difficult (but not impossible). So, if you use a weak master password, not only is your password for the vulnerable site brute forceable, but all other sites you use in the present and the future will be compromised.<p>This scheme is not more secure than existing password management schemes (provided the password manager uses a good hashing algorithm for the master password like PBKDF2). It is strictly less secure because the security of all your passwords relies on the minimum security of all sites you use. It is also less secure because after a leak, an adversary can generate <i>future</i> passwords.<p>This tool should be used with caution and with these facts in mind.
milesalmost 10 years ago
This sounds like an excellent approach:<p><i>&quot;Master Password is a stateless password generator. It doesn&#x27;t store, collect or transmit any secrets. It makes them ubiquitously available, on-demand, depends on nothing but your private master password, and is fully open source.&quot;</i><p>I wonder why it hasn&#x27;t received wider attention since being released a year or so ago? The only real mention I found in a cursory search (outside of app store reviews) was here:<p><a href="https:&#x2F;&#x2F;pack.resetthenet.org" rel="nofollow">https:&#x2F;&#x2F;pack.resetthenet.org</a><p><i>&quot;Are you using the same password everywhere? If so, change it, starting with your email account. Use a tool like MasterPassword or write it down.&quot;</i>
评论 #9789443 未加载
nicinaboxalmost 10 years ago
This is incredibly similar to my side project Cassidy (except it&#x27;s built on top of vault). Same idea though: master password + salt + site.<p><a href="https:&#x2F;&#x2F;cassidy.nicinabox.com" rel="nofollow">https:&#x2F;&#x2F;cassidy.nicinabox.com</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;nicinabox&#x2F;cassidy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nicinabox&#x2F;cassidy</a>
评论 #9789591 未加载
评论 #9789657 未加载
gingerlimealmost 10 years ago
Really great to see more open source solutions in this space, especially those attempting to tackle all platforms.<p>However, I can&#x27;t help but feel a bit depressed by the state of even some of the most common projects, like GPG[0].<p>Another one that I truly fell in love with its simplicity and beauty -- Mitro[1] -- seems to be dying a slow death[2].<p>I know it shouldn&#x27;t reflect on this project, and can only wish for its long-term success.<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9003791" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9003791</a> [1] <a href="https:&#x2F;&#x2F;www.mitro.co" rel="nofollow">https:&#x2F;&#x2F;www.mitro.co</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;mitro-co&#x2F;mitro&#x2F;issues&#x2F;123" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mitro-co&#x2F;mitro&#x2F;issues&#x2F;123</a>
评论 #9789610 未加载
pubbalmost 10 years ago
Curious as to how PasswordMaker either uses weak crypto or &quot;suffers from critical flaws&quot;. Master Password seems to be more flexible with features like password counter and a customizable password policy (this is especially cool if it is customizable per domain). Unfortunately for me iOS-only is a deal breaker. PasswordMaker has clients that run on everything. The two I use most are the &quot;PasswordMaker Pro&quot; Chrome extension and the PasswordMaker X Android app.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;passwordmaker&#x2F;chrome-passwordmaker" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;passwordmaker&#x2F;chrome-passwordmaker</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;eddieringle&#x2F;PasswordMaker_X" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eddieringle&#x2F;PasswordMaker_X</a>
评论 #9790645 未加载
评论 #9789797 未加载
评论 #9790289 未加载
schmooseralmost 10 years ago
I&#x27;m using [SuperGenPass] for exactly same thing. I forked the project on Github so I&#x27;m sure that algorithm won&#x27;t be changed.<p>[SuperGenPass]: <a href="https:&#x2F;&#x2F;chriszarate.github.io&#x2F;supergenpass&#x2F;" rel="nofollow">https:&#x2F;&#x2F;chriszarate.github.io&#x2F;supergenpass&#x2F;</a>
评论 #9789548 未加载
hijinksalmost 10 years ago
This is a pretty neat concept. I&#x27;m not sure if this is what its doing but it seems like it.<p>It seems your master password is like a seed for the encryption or something so that&#x27;s why it can always be the same. If thats pretty much what it is its pretty smart and simple.<p>I also like the option for the account clues.
评论 #9789110 未加载
alileealmost 10 years ago
PasswordMaker <a href="http:&#x2F;&#x2F;passwordmaker.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;passwordmaker.org&#x2F;</a> is most similar, but this has a coherent cross-platform implementation and better templating.<p>Downsides:<p>- single point of developer failure (although open source, and specification-based)<p>- lack of browser integration
nicwolffalmost 10 years ago
This is based on simpler tools like SuperGenPass<p><a href="https:&#x2F;&#x2F;github.com&#x2F;chriszarate&#x2F;supergenpass&#x2F;wiki&#x2F;FAQ" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;chriszarate&#x2F;supergenpass&#x2F;wiki&#x2F;FAQ</a><p>which credits my site<p><a href="http:&#x2F;&#x2F;angel.net&#x2F;~nic&#x2F;passwd.current.html" rel="nofollow">http:&#x2F;&#x2F;angel.net&#x2F;~nic&#x2F;passwd.current.html</a><p>as &quot;the original bookmarklet password generator&quot;. It adds some useful features, but loses the simplicity and transparency and real statelessness of a self-contained HTML&#x2F;JavaScript form - and is less convenient for most uses than a bookmarklet.
quinndupontalmost 10 years ago
Great idea, but a total geek product. In terms of actual market success, that is, getting security to average people this is never going to work. Not only is there all kinds of language on the site that regular folk aren&#x27;t interested in (text encodings, hashes, etc.), the very idea of having to remember a &quot;password counter&quot; is far too difficult for <i>anyone</i>. I&#x27;ve got hundreds of passwords (in a password app), and once even a quarter of those are incremented past 1 in the counter it&#x27;s just a massive guessing game at that point.
ameliusalmost 10 years ago
I&#x27;ve been using a password hasher for ages now. Just search for it on google apps or in the mozilla addons library.
rwinnalmost 10 years ago
Great idea! And kudos for releasing it as free software.<p>But I don&#x27;t see how &quot;nothing to intercept&quot; is a security feature. That means an attacker can start brute forcing just knowing the victims name instead of having to obtain the encrypted files first.
评论 #9789991 未加载
lifeisstillgoodalmost 10 years ago
This is such an old idea but brilliant for those cross device fiddly little passwords - wish I had thought of it.<p>But, can you auto fill &#x2F; paste the password? The UX for a phone is painful usually - downloading it so we shall see
peterhajasalmost 10 years ago
Cool idea! Reminds me of Passcode (<a href="https:&#x2F;&#x2F;github.com&#x2F;mdznr&#x2F;iOS-Passcode" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mdznr&#x2F;iOS-Passcode</a>), which follows a similar model.
jhggalmost 10 years ago
Here&#x27;s details of how the algorithm is implemented:<p><a href="https:&#x2F;&#x2F;ssl.masterpasswordapp.com&#x2F;algorithm.html" rel="nofollow">https:&#x2F;&#x2F;ssl.masterpasswordapp.com&#x2F;algorithm.html</a>
评论 #9789788 未加载
wereHamsteralmost 10 years ago
What if I need to change the password for a particular website (for example because it has been compromised and all its users were encouraged to change their password)?
评论 #9789875 未加载
评论 #9789795 未加载
wfunctionalmost 10 years ago
What about those who have multiple accounts on one site...?
评论 #9789793 未加载
vinchucoalmost 10 years ago
Why an app and not an open source code?
kenrosealmost 10 years ago
One very bad &quot;oops&quot; I&#x27;ve realized I made.<p>Show HN is meant for projects one has created themselves. This is not my project and I didn&#x27;t read that guideline last night when I submitted. It&#x27;s an interesting project that I stumbled upon last night and started using. I thought I&#x27;d &quot;show (it to) HN&quot;.<p>Happy for a mod to edit the title. My sincerest apologies to the author and the HN community for my haste and any misunderstanding.
评论 #9790431 未加载