Commit Graph

14169 Commits

Author SHA1 Message Date
Jean-Paul Calderone
54bf271fbe news fragment 2021-10-28 11:12:08 -04:00
Jean-Paul Calderone
65d3ab6142 move backdating logic into mutable/immutable share files 2021-10-28 10:53:52 -04:00
Jean-Paul Calderone
f635aec5be news fragment 2021-10-28 10:53:29 -04:00
Itamar Turner-Trauring
125c937d46 Switch to HTTP header scheme. 2021-10-28 10:49:08 -04:00
Jean-Paul Calderone
3514995068 some versions of mypy don't like this so nevermind 2021-10-28 10:26:30 -04:00
Jean-Paul Calderone
76caf46347 make the alternate LeaseInfo constructors into class methods 2021-10-28 10:23:58 -04:00
Jean-Paul Calderone
70fb5d563a Get rid of the public expiration_time attribute
LeaseInfo now has a getter and a setter for this attribute.
LeaseInfo is now also immutable by way of `attrs`.
LeaseInfo is now also comparable by way of `attrs`.
2021-10-28 09:48:26 -04:00
Jean-Paul Calderone
972790cdeb news fragment 2021-10-28 09:47:47 -04:00
fenn-cs
2336cae78c remove step, release checklist
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-28 08:26:13 +01:00
Jean-Paul Calderone
dd29efc11b
Merge pull request #1147 from LeastAuthority/3829.cancel-redundant-ga-jobs
Auto-cancel redundant GA jobs

Fixes: ticket:3829
2021-10-27 10:23:50 -04:00
meejah
eddfd244a7 code and tests to check RSA key sizes 2021-10-26 13:37:26 -06:00
Jean-Paul Calderone
7ec7cd45dd Use "concurrency groups" to auto-cancel redundant builds 2021-10-26 14:10:41 -04:00
Jean-Paul Calderone
28cc3cad66 news fragment 2021-10-26 14:10:29 -04:00
Jean-Paul Calderone
f02f14a6e2 Merge remote-tracking branch 'upstream/master' 2021-10-26 09:23:49 -04:00
Jean-Paul Calderone
fdd7ec6c2e
Merge pull request #35 from tahoe-lafs/LFS-01-020
LFS-01-020: Twisted password check vulnerable to timing attack

Fixes: ticket:3827
2021-10-26 09:13:11 -04:00
fenn-cs
69d335c1e1 update test overlap function docstring
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-26 13:14:26 +01:00
Jean-Paul Calderone
5b9997f388 update the integration tests to reflect removal of sftp password auth 2021-10-26 07:16:24 -04:00
fenn-cs
9764ac740a test kwargs overlap with params in start_action
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-10-26 11:22:32 +01:00
Jean-Paul Calderone
84dfb360ce
Merge pull request #1141 from LeastAuthority/3814.remove-control-port
Remove the "control port" and its associated Tub

Fixes: ticket:3814
2021-10-25 20:57:23 -04:00
Jean-Paul Calderone
3de481ab6b remove unused imports 2021-10-25 20:52:35 -04:00
Jean-Paul Calderone
5878a64890 Remove password-based authentication from the SFTP frontend 2021-10-25 20:50:19 -04:00
Jean-Paul Calderone
0b4e6754a3 news fragment 2021-10-25 20:47:35 -04:00
Jean-Paul Calderone
aa6360f08e Merge remote-tracking branch 'remediate/master' 2021-10-24 07:38:42 -04:00
Jean-Paul Calderone
e6bdb58650
Merge pull request #34 from tahoe-lafs/LFS-01-006
Fix item LFS-01-006 from the Cure53 audit

Fixes: ticket:3824
2021-10-23 17:21:25 -04:00
Jean-Paul Calderone
b51f0ac8ff storage_index is a byte string
and Python 3 cares
2021-10-23 08:04:19 -04:00
Jean-Paul Calderone
0ada9d93f7 remove unused local 2021-10-23 07:43:22 -04:00
Jean-Paul Calderone
470657b337 Drop corruption advisories if we don't have a matching share 2021-10-23 07:35:05 -04:00
Jean-Paul Calderone
ea202ba61b news fragment 2021-10-23 07:35:05 -04:00
Jean-Paul Calderone
21f848f0e3 Merge remote-tracking branch 'upstream/master' 2021-10-23 07:32:26 -04:00
Jean-Paul Calderone
8705c33b9a
Merge pull request #33 from tahoe-lafs/LFS-01-005
Fix item LFS-01-005 from the Cure53 audit

Fixes: ticket:3823
2021-10-23 07:30:01 -04:00
Jean-Paul Calderone
cb675df48d remove unused encoding of storage index 2021-10-22 16:10:24 -04:00
Jean-Paul Calderone
194499aafe remove unused import 2021-10-22 16:09:54 -04:00
Jean-Paul Calderone
8d15d61ff2 put the news fragment in the right place 2021-10-22 15:58:48 -04:00
Jean-Paul Calderone
5837841c09 mention corruption advisories in the news fragment too 2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
6449ad03de Do not record corruption advisories if there is no available space 2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
f789339a79 Have MutableShare file only write a new lease if there is room for it
This is analagous to the earlier ShareFile change.
2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
dd1ab2afe8 Add a helper to compute the size of a lease in a mutable share 2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
e0ed04c103 use SyncTestCase to get expectThat 2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
4defc641a2 Have ShareFile only write a new lease if there is room for it
StorageServer passes available space down so it can make the decision.
ShareFile has to do it because `add_or_renew_lease` only *sometimes* adds a
lease and only ShareFile knows when that is.
2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
1264c3be1e Use _add_or_renew_leases helper consistently in StorageServer
This will make it easier to add a new argument to the underlying
`add_or_renew_lease` call.
2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
b3aa1e224f Add a helper to LeaseInfo for computing size
This lets some code LBYL and avoid writing if the lease won't fit in the
immutable share in the space available.
2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
c774256937 Add a test for `remote_add_lease` with respect to reserved space 2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
bb5b26638d news fragment 2021-10-22 15:56:45 -04:00
Jean-Paul Calderone
7e52966223
Merge pull request #32 from tahoe-lafs/LFS-01-008
Fix item LFS-01-008 from the Cure53 audit

Fixes: ticket:3822
2021-10-22 15:56:02 -04:00
Jean-Paul Calderone
82e4704415 Merge remote-tracking branch 'remediate/master' into LFS-01-008 2021-10-22 15:27:15 -04:00
Jean-Paul Calderone
ff577066a0
Merge pull request #31 from tahoe-lafs/LFS-01-007
Fix item LFS-01-007 from the Cure53 audit

Fixes: ticket:3821
2021-10-22 15:26:22 -04:00
Jean-Paul Calderone
ce30f9dd06 clean up copyediting errors 2021-10-22 15:04:45 -04:00
Jean-Paul Calderone
7f3d9316d2 Give the news fragment its real name 2021-10-22 12:59:26 -04:00
Jean-Paul Calderone
bcdfb8155c give the news fragment its proper name 2021-10-22 12:53:17 -04:00
Jean-Paul Calderone
bb31215134 Merge remote-tracking branch 'remediate/master' into LFS-01-007 2021-10-22 12:35:57 -04:00