Commit Graph

1190 Commits

Author SHA1 Message Date
Jude Nelson
42b57c9268 reenable gc in grandchild 2017-10-28 13:35:38 -04:00
Jude Nelson
b9318b1c44 disable gc in intermediate child, and re-enable it in grandchild. appears to stop waitpid/gc deadlock in daemonization due to sqlite3 handles having custom __del__ implementations 2017-10-28 13:33:36 -04:00
Jude Nelson
6fca324a6d version bump 2017-10-27 11:38:25 -04:00
Jude Nelson
39861d2b8c fix error path reference to undeclared variable 2017-10-27 11:38:08 -04:00
Jude Nelson
d2e5b35273 whitespace 2017-10-26 14:24:42 -04:00
Jude Nelson
846d816b85 send zone file to given hostport 2017-10-26 14:24:33 -04:00
Jude Nelson
3e1d6bf9ec sync_zonefile: registration and renewal can set the zone file 2017-10-26 14:24:20 -04:00
Jude Nelson
e42cc610f0 unused import 2017-10-26 00:41:59 -04:00
Jude Nelson
5c019ee9dd fix using a separate key 2017-10-26 00:41:45 -04:00
Jude Nelson
c7f8590e6b fix typos; ecdsa_private_key doesn't take compressed (yet) 2017-10-25 20:18:26 -04:00
Jude Nelson
0373942dd8 use the is_name_valid() call to validate names 2017-10-25 19:41:53 -04:00
Jude Nelson
8532807835 support segwit and multisig owner and payment keys passed in from the browser 2017-10-25 19:41:37 -04:00
Jude Nelson
a4debac824 prefer ecdsa_private_key over ECPrivateKey 2017-10-25 15:45:22 -04:00
Jude Nelson
50b4e3421f prefer ecdsa_private_key over ECPrivateKey 2017-10-25 15:45:09 -04:00
Jude Nelson
d27aa02c57 prefer ecdsa_private_key() over ECPrivateKey() 2017-10-25 15:44:56 -04:00
Jude Nelson
a8bbf7b3b9 is_name_registered() can filter on names in the grace period, and take a config file pat 2017-10-25 15:44:40 -04:00
Jude Nelson
e00db4a709 aggressive address encoding 2017-10-25 15:44:22 -04:00
Jude Nelson
f2f7d5a7cb have registrar methods return the names they did (and did not) register; when encrypting owner/private keys, allow the registrar to specify scrypt parameters (taken from the environment) 2017-10-25 15:43:48 -04:00
Jude Nelson
05e37da5cf whitespacing 2017-10-25 15:43:38 -04:00
Jude Nelson
4537fb8d32 be more aggressive about address encoding checks; pass config paths where appropriate 2017-10-25 15:43:06 -04:00
Jude Nelson
fbb90491eb allow the aes_encrypt() caller to pass scrypt parameters 2017-10-25 15:42:46 -04:00
Jude Nelson
bb1f3e42b7 accept config path 2017-10-25 15:42:35 -04:00
Jude Nelson
5544f4dc1f use ecdsa_private_key over ECPrivateKey when appropriate 2017-10-25 15:42:18 -04:00
Jude Nelson
dbd9bb6341 Merge branch 'master' into hotfix/nameop-library-support 2017-10-24 10:58:17 -04:00
Jude Nelson
e17c67ced6 Merge branch 'hotfix/lookup-public-key' 2017-10-24 10:56:12 -04:00
Jude Nelson
815418ff42 Merge branch 'hotfix/daemonization-race' 2017-10-24 10:55:54 -04:00
Jude Nelson
e7818de6f9 version bump 2017-10-23 23:49:27 -04:00
Jude Nelson
0260814e47 wrong variable 2017-10-23 19:08:39 -04:00
Jude Nelson
ba6649b961 accept return_public_key=True/False kwarg to control whether or not get_mutable_data() returns the public key that authenticated the data (if it could be found) 2017-10-23 18:02:24 -04:00
Jude Nelson
0a227ed6ff extract public key from storage layer and return it with subdomain profile 2017-10-23 18:02:08 -04:00
Jude Nelson
5859630556 extract public key from storage layer and return it with the profile 2017-10-23 18:01:55 -04:00
Jude Nelson
a55525ba7b lookup returns the public key as well as the profile and zone file 2017-10-23 18:01:42 -04:00
Jude Nelson
15f6bbca8a pass owner address through 2017-10-23 17:08:34 -04:00
Jude Nelson
99d1f0c510 whitespace 2017-10-23 17:08:23 -04:00
Jude Nelson
889e70fe5d allow accepting only the owner address, in case the owner private key is not known 2017-10-23 17:08:06 -04:00
Jude Nelson
97dcab7cb3 allow running the registrar once, in one pass. Also, accept config overrides in its constructor 2017-10-23 17:07:44 -04:00
Aaron Blankstein
b6751c4d30 Merge branch 'master' into develop 2017-10-19 16:43:00 -04:00
Jude Nelson
db8b6d13e8 close all file descriptors when daemonizing 2017-10-19 14:29:07 -04:00
Jude Nelson
6577fc5dd9 don't die on lack of pip; don't die of address is in use (just return an error) 2017-10-19 14:28:43 -04:00
Jude Nelson
85cf161800 fix race condition visible in test framework when creating a registrar queue 2017-10-19 14:28:19 -04:00
Aaron Blankstein
0555ad09dd improved error codes on profile resolver 2017-10-19 11:59:19 -04:00
Jude Nelson
299c750f2b Merge branch 'hotfix/namespace-safety' 2017-10-18 16:55:58 -04:00
Jude Nelson
e870c63d4f Merge branch 'hotfix/sign-profile' 2017-10-18 16:55:40 -04:00
Aaron Blankstein
6e834dd62c version bump to v0.17.0.9 2017-10-18 15:55:09 -04:00
Jude Nelson
6d51ade869 name_import is part of the registrar state 2017-10-18 14:30:21 -04:00
Jude Nelson
c847142edd fix up some UI issues in name import 2017-10-18 14:30:05 -04:00
Jude Nelson
7af52966cc fix multi-zonefile-put return value schema 2017-10-17 18:31:49 -04:00
Jude Nelson
124c1bf471 use the owner private key unconditionally if there is no data public key in the zone file 2017-10-17 18:31:32 -04:00
Jude Nelson
0549448c93 remove dead code 2017-10-17 18:31:22 -04:00
Jude Nelson
80ddf9f683 fix sign_profile and verify_profile to work with owner private keys 2017-10-17 18:31:08 -04:00