TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Shamir Secret Sharing

238 点作者 yankcrime将近 2 年前

15 条评论

BtM909将近 2 年前
See previous discussion(s): <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36941720">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36941720</a>
评论 #37090139 未加载
_xivi将近 2 年前
Out of curiosity, How is this post not a [dupe] and managed to reach the front page even though it had its fair share not even 10 days ago
评论 #37088729 未加载
评论 #37089504 未加载
NovemberWhiskey将近 2 年前
&gt;<i>original news of our move to the US was delivered to them via a posted letter, snail mail, not FidoNet email!</i><p><i>net</i>mail, not <i>e</i>mail :-)<p>As the knower of the code, for the safe, in the escorted-only data center, that contains one of our Vault key shares, this story resonates.
nailer将近 2 年前
&gt; Solaris had a “special feature”: any passphrase entered that was longer than 8 characters long was automatically reduced to that length anyway.<p>Solaris is known for having stupid defaults. I once had a box refuse to boot because the whitespace in a config file used tabs rather than spaces.
AstralStorm将近 2 年前
Oh boy, one of them classic stories of &quot;we accidentally pushed a development setup into production&quot;.<p>What&#x27;s worse, partially.
评论 #37087642 未加载
numair将近 2 年前
Oh! We are finally going to talk about how PayPal was utterly owned by Russian cyber gangs that made a mockery of the idea that these guys were fraud detection geniuses?<p><i>checks article</i><p>Oh, wait, nevermind. More “folklore.”
评论 #37088496 未加载
londons_explore将近 2 年前
Printed out the master key and stored it in a safe...<p>Wonder if that printer kept a copy...?
评论 #37087648 未加载
threesevenths将近 2 年前
This story has been posted numerous times in the last fortnight. It’s a great story but certainly undeserving of a reread
评论 #37088703 未加载
seniorThrowaway将近 2 年前
this brings up old memories of being bitten sometime by this Solaris &quot;feature&quot; although it&#x27;s been too many years to remember the exact details. It was one of those things that made me realize Linux was actually a much more usable system from a day to day admin point of view, along with package managers.<p>Edit: another one was Solaris defaulting to the obsolete unix crypt function based on the Enigma machine
nickdothutton将近 2 年前
As soon as getpass was mentioned, I knew. It’s worth reminding people that in these matters, print on paper is a weapon, know when to use it.
croes将近 2 年前
Always test with real values even passwords
评论 #37090588 未加载
tonicanada将近 2 年前
I found this topic so interesting that I wrote an article about it! <a href="https:&#x2F;&#x2F;medium.com&#x2F;gitconnected&#x2F;sharing-a-secret-with-polynomial-interpolation-657d2ab1d307" rel="nofollow noreferrer">https:&#x2F;&#x2F;medium.com&#x2F;gitconnected&#x2F;sharing-a-secret-with-polyno...</a>
EGreg将近 2 年前
While it’s exciting to read this kind of stuff, and I am glad to see a fellow Soviet emigre come and found a company in the Valley, I have to comment on just <i>how much control is centralized</i> in the hands of a few people, that millions of people come to trust with their data and their money!<p>This is essential commentary to Shamir Secret Sharing, because it requires a <i>trusted dealer</i>, unlike BLS and other bilinear technqiues.<p>Look at this:<p><i>Whatever key that was, it wasn’t the one I generated the day before: only one copy existed, the one I copied to cryptoserv from my computer the night before. Zero copies existed now. Not only that, the push script appears to have also wiped out the backup of the old key, so the database backups we have encrypted with the old key are likely useless.</i><p>So with SSS just have to take his word for it, that he didn’t have a copy of the key back on his computer. Zero copies existed? It’s not like he made another copy of it? Surely he is a reliable narrator and we can trust that at least, right? Actually, NOPE:<p><i>A few hours later, John, our General Counsel, stopped by my cubicle to ask me something. The day before I apparently gave him a sealed envelope and asked him to store it in his safe for 24 hours without explaining myself. He wanted to know what to do with it now that 24 hours have passed. Ha. I forgot all about it, but in a bout of “what if it doesn’t work” paranoia, I printed out the base64-encoded master key when we had generated it the night before, stuffed it into an envelope, and gave it to John for safekeeping. We shredded it together without opening and laughed about what would have never actually been a company-ending event.</i><p>So the lawyer could have conceivably hired someone to break into the database, steal credit card numbers and salami-slice some value for years, or launch one big attack on the entire database:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Salami_slicing_tactics" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Salami_slicing_tactics</a><p>Having ONE SET OF KEYS or passwords to access THE ENTIRE DATABASE is the epitome of the whole Digital Feudalism that we have today! But that’s what we have in Web2. Sam Bankman Fried is just one example. This is where Web3 is so different. Everyone has their own keys, and they can only do what the are allowed to by the smart contract code. You reduce the attack surface massively. You reduce the need for celebirties like Max Levchin, and his stories, as much as I like them.<p>Some people on HN might dislike Web3 and smart contracts, and I do agree that blockchains arent a very efficient technology for implementing them, but the idea of <i>being able to trust the code</i> is crucial for our society. Otherwise, the closest we can get to it is this:<p><a href="https:&#x2F;&#x2F;signal.org&#x2F;blog&#x2F;private-contact-discovery&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;signal.org&#x2F;blog&#x2F;private-contact-discovery&#x2F;</a><p>In an age where Google wants to implement attestations of CLIENTS in Chrome, we as a society should be demanding the other way: proving that the CODE AND DATA cannot be tampered with. SGX extensions are far worse than smart contracts to secure large amounts of value, whether it’s currency balances, votes, or other data.<p>Anyway, for the crypto side I will just say that BLS signatures are far superior to SSS. I mean cryprography when I say crypto. It has NOTHING to do with blockchain, but rather with generation of private keys and verifying transactions that were posted to some decentralized network. Use BLS. SSS is outdated.
评论 #37090402 未加载
testemailfordg2将近 2 年前
Was just reading about this SSS technique yesterday and now its on HN
s1mplicissimus将近 2 年前
umm so he had the master key printed out as backup anyway so there was never really any danger if i read correctly. clickbait?<p>&gt; Ha. I forgot all about it, but in a bout of “what if it doesn’t work” paranoia, I printed out the base64-encoded master key when we had generated it the night before, stuffed it into an envelope, and gave it to John for safekeeping.
评论 #37088227 未加载
评论 #37087770 未加载