Itamar Turner-Trauring
d214fe3f16
Delete unused imports.
2021-04-02 13:00:05 -04:00
Itamar Turner-Trauring
dd6e0d5467
Switch to decode_furl().
2021-04-02 12:49:01 -04:00
Itamar Turner-Trauring
939f1f840b
Fix reference to new location.
2021-04-02 12:48:50 -04:00
Itamar Turner-Trauring
062740dc23
Probably not worth unit testing a utility function used in one place, move it to
...
place it's used.
2021-04-01 10:23:37 -04:00
Itamar Turner-Trauring
9f02de688c
We don't support old Foolscap versions anymore.
2021-04-01 10:19:16 -04:00
Itamar Turner-Trauring
90c393b8b2
Port __init__.py modules to Python 3 (or just mark them as ported if they're empty).
2021-03-30 10:04:28 -04:00
Itamar Turner-Trauring
70c0607789
Enable BytesWarning across all tests ported to Python 3, fixing problems that caught.
2021-02-24 14:36:15 -05:00
Jason R. Coombs
7d468cde19
Merge branch 'master' into 3399.mypy
2021-01-15 11:17:47 -05:00
Jean-Paul Calderone
7a504dd99f
Merge pull request #936 from LeastAuthority/3534.test_introducer-no-mock
...
Remove mock from test_introducer
Fixes: ticket:3534
2021-01-04 15:06:29 -05:00
Jason R. Coombs
cc5a1046d9
Define type for IntroducerService.VERSION, accepting bytes or str as keys for now.
2020-12-26 13:07:12 -05:00
Jason R. Coombs
574613a892
Merge branch 'master' into 3399.mypy
2020-12-26 12:45:09 -05:00
Jason R. Coombs
0e248cb4ef
Declare signing key as required in introducer client publish.
2020-12-18 10:59:53 -05:00
Itamar Turner-Trauring
26297c296d
Merge branch 'master' into 3552.test_system-python-3
2020-12-17 09:42:34 -05:00
Jean-Paul Calderone
4117beba6a
remove unused import
...
yaaay
2020-12-16 16:25:51 -05:00
Jean-Paul Calderone
b200075246
whitespace
2020-12-16 16:23:05 -05:00
Jean-Paul Calderone
b2c9296f6b
Use ObserverList instead of an ad hoc reimplementation
2020-12-16 16:20:00 -05:00
Jean-Paul Calderone
4b1c6a2815
Remove these reactor parameters
2020-12-14 17:42:30 -05:00
Itamar Turner-Trauring
9bf221dea4
Match Foolscap better.
2020-12-11 13:10:56 -05:00
Itamar Turner-Trauring
c1a699dede
Flake.
2020-12-04 11:39:57 -05:00
Itamar Turner-Trauring
22dcd726e6
Port to Python 3.
2020-12-04 11:36:17 -05:00
Itamar Turner-Trauring
15735e70bc
Port to Python 3.
2020-12-04 11:35:59 -05:00
Itamar Turner-Trauring
0386924d00
Fix flake.
2020-12-02 15:26:25 -05:00
Itamar Turner-Trauring
b716456019
Merge remote-tracking branch 'origin/master' into 3544.furls-not-bytes-maybe
2020-12-02 15:24:31 -05:00
Itamar Turner-Trauring
587222033d
Fix bad merge.
2020-12-01 11:58:56 -05:00
Itamar Turner-Trauring
22c328d6d3
More debytification.
2020-11-30 17:41:15 -05:00
Itamar Turner-Trauring
27102c0d89
Merge remote-tracking branch 'origin/master' into 3514.test-introducer-python-3
2020-11-30 16:47:21 -05:00
Itamar Turner-Trauring
413cf75d54
Uses clearer issuperset().
2020-11-30 16:25:24 -05:00
Itamar Turner-Trauring
9f7ae56a82
Make the explanation less nonsensical.
2020-11-30 16:24:27 -05:00
Jason R. Coombs
50f81aa25d
Update two methods of introducer.client.IntroducerClient to match the interface definition.
2020-11-29 13:57:46 -05:00
Jean-Paul Calderone
c694e8c7e2
Delete allmydata.version_checks and related functionality
...
It is not Tahoe-LAFS' job to manage package installation in this way.
Instead, we can declare our dependencies in setup.py and rely on installation
management tools and packagers to create a suitable execution environment.
Making this statement in the past required going much further out on a limb
than it does today. This code has served its purpose and can now be retired.
2020-11-23 15:10:18 -05:00
Itamar Turner-Trauring
5b87fb4afe
All tests pass on Python 2 and 3.
2020-11-20 14:01:48 -05:00
Itamar Turner-Trauring
53a6882f21
Some progress on Python 3 passing tests, some going backwards.
2020-11-20 12:02:22 -05:00
Itamar Turner-Trauring
bcc509b7a7
Some progress towards passing tests.
2020-11-19 14:23:41 -05:00
Itamar Turner-Trauring
8029a1befc
First passing test on Python 3.
2020-11-19 11:45:32 -05:00
Itamar Turner-Trauring
40d372a2f6
Some progress towards passing tests on Python 3.
2020-11-19 11:11:48 -05:00
Itamar Turner-Trauring
f57ba3c927
Can't send unicode over foolscap.
2020-11-04 14:13:08 -05:00
Itamar Turner-Trauring
bcd7cdf86f
Some passing tests on Python 3.
2020-10-16 10:47:49 -04:00
Itamar Turner-Trauring
369cd98d5a
Clarify what "JSON-serializable bytes" means.
2020-09-29 10:17:26 -04:00
Itamar Turner-Trauring
64516aac41
Port to Python 3.
2020-09-28 10:20:00 -04:00
Jean-Paul Calderone
7e17ffb75d
Also update the introducer's use of read_config
2019-08-03 05:34:21 -04:00
meejah
5644f421fe
get rid of ed25519.bytes_from_* methods
2019-07-08 12:46:22 -06:00
meejah
5633f3a8ff
bytes
2019-06-25 14:35:25 -06:00
meejah
249abbdd1f
things are bytes
2019-06-24 16:57:12 -06:00
meejah
f52a6ce9bb
more bytes clarification
2019-06-24 16:57:12 -06:00
meejah
05f6b7fea0
refactor ed25519 a little; only _string variants, not _bytes of deserializers and some imports
2019-06-24 15:31:46 -06:00
meejah
5701bad548
a module for errors
2019-06-24 12:12:10 -06:00
meejah
47ccdb0177
refactor ed25519 helpers to functional style
...
eliminates the wrapper classes and uses some more-explicit
names throughout (e.g "sk" -> "signing_key")
2019-06-13 22:19:28 -06:00
heartsucker
8063d93c6d
replaced pytcryptopp rsa with our own wrapper
2019-06-13 22:19:28 -06:00
heartsucker
9e31bfe2f4
update code/test to use new ed25512 module
2019-06-13 22:19:28 -06:00
heartsucker
3a5a0fb572
replaced uses of pycryptopp's ed25519 with our own
2019-06-13 22:18:55 -06:00