This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /Users/warner/stuff/crypto/ethereum/dao.out 2016-07-19 18:18:44.000000000 -0700 | |
| +++ /tmp/1.out 2016-07-19 18:27:56.000000000 -0700 | |
| @@ -1,7 +1,4 @@ | |
| /* | |
| - | |
| -- Bytecode Verification performed was compared on second iteration - | |
| - | |
| This file is part of the DAO. | |
| The DAO is free software: you can redistribute it and/or modify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Some text from an etherpad about the "servers of happiness" docs, for ticket #1382 | |
| pasted to IRC last week: | |
| Suppose your upload achieves a happiness count of C, and your encoding is configured to need a minimum of K shares (aka "shares.needed"). Then immediately after a successful upload, we know we can tolerate the loss of any C - K servers. | |
| We provide shares.happy as a parameter to the upload process so that it knows whether it was successful or not: if the uploader cannot place shares to meet this C >= shares.happy threshold, it aborts the upload, rather than finishing with an insufficiently robust placement. There is another parameter, shares.total (aka "N"), which provides a goal: the uploader will attempt to place N unique shares. But as long as it can achieve shares.happy, it will indicate success. | |
| Another way to state this property is that for *any* subset of shares.happy servers that have shares after a successful upload, only K need to retain them. |
I hereby claim:
- I am warner on github.
- I am warner (https://keybase.io/warner) on keybase.
- I have a public key ASBnjfSs_vOUoJthxiXW1MIWuIL09sFu7YNmZ1wL436IAwo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* This Source Code Form is subject to the terms of the Mozilla Public | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this | |
| * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| define([ | |
| 'intern!tdd', | |
| 'intern/chai!assert', | |
| 'sjcl', | |
| 'client/lib/credentials', | |
| 'tests/addons/environment' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FxAccountClient.prototype._passwordChangeFinish = function(email, newPassword, oldCreds) { | |
| var self = this; | |
| var newWrapKb; | |
| var authPW; | |
| var oldWrapKB; | |
| var p1 = this.accountKeys(oldCreds.keyFetchToken, oldCreds.oldUnwrapBKey); | |
| var p2 = credentials.setup(email, newPassword); | |
| var p3 = hawkCredentials(oldCreds.passwordChangeToken, 'passwordChangeToken', 2 * 32); | |
| Promise.all([p1, p2, p3]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <botan/botan.h> | |
| #include <botan/pbkdf2.h> | |
| #include <botan/hmac.h> | |
| #include <botan/sha2_32.h> | |
| #include <iostream> | |
| #include <memory> | |
| using namespace Botan; | |
| std::string password_hash(const std::string& pass, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this repo holds screenshots for bug reports |
