freedomofpress / securedrop

GitHub repository for the SecureDrop whistleblower platform. Do not submit tips here!
https://securedrop.org/
Other
3.62k stars 686 forks source link

Release SecureDrop 2.6.0 #6798

Closed zenmonkeykstop closed 1 year ago

zenmonkeykstop commented 1 year ago

This is a tracking issue for the release of SecureDrop 2.6.0

Tentatively scheduled as follows:

Pre-release announcement: 06-15-2023 Release date: 06-22-2023

Release manager: @legoktm Deputy release manager: @zenmonkeykstop Localization manager: @cfm Communications manager: @nathandyer

SecureDrop maintainers and testers: As you QA 2.6.0, please report back your testing results as comments on this ticket. File GitHub issues for any problems found, tag them "QA: Release".

Test debian packages will be posted on https://apt-test.freedom.press signed with the test key.

QA Matrix for 2.6.0

Test Plan for 2.6.0

Prepare release candidate (2.6.0~rc1)

After each test, please update the QA matrix and post details for Basic Server Testing, Application Acceptance Testing and release-specific testing below in comments to this ticket.

Final release

Post release

cfm commented 1 year ago

Environment

(.venv) root@sd-staging:~/securedrop# virsh domifaddr libvirt-prod-focal_app-prod
 Name       MAC address          Protocol     Address
-------------------------------------------------------------------------------
 vnet5      52:54:00:4c:4d:c1    ipv4         192.168.121.215/24
(.venv) root@sd-staging:~/securedrop# virsh domifaddr libvirt-prod-focal_mon-prod
 Name       MAC address          Protocol     Address
-------------------------------------------------------------------------------
 vnet7      52:54:00:c4:7e:e5    ipv4         192.168.121.36/24

Basic Server Testing

Command Line User Generation

(Optional) Administration

(Optional) Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

2.6.0 release-specific changes

agrant@app-prod:~$ sudo -u www-data sqlite3 /var/lib/securedrop/db.sqlite "SELECT COUNT(*) FROM sources;" 
111 
vagrant@app-prod:~$ sudo systemctl start securedrop-remove-pending-sources.service 
vagrant@app-prod:~$ sudo -u www-data sqlite3 /var/lib/securedrop/db.sqlite "SELECT COUNT(*) FROM sources;" 
101 

6847

legoktm commented 1 year ago

Environment

Basic Server Testing

Command Line User Generation

(Optional) Administration

(Optional) Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

2.6.0 release-specific changes

nathandyer commented 1 year ago

Environment

Basic Server Testing

Command Line User Generation

(Optional) Administration

(Optional) Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

2.6.0 release-specific changes

cfm commented 1 year ago

Environment

Basic Server Testing

Truncated release-specific testing

sdadmin@app:~$ sudo journalctl | grep -E "securedrop-(clean-tmp|remove-pending-sources|submissions-today)" | tail -n 10
Jun 19 03:00:40 app systemd[1]: securedrop-submissions-today.service: Succeeded.
Jun 19 04:00:00 app systemd[1]: securedrop-clean-tmp.timer: Succeeded.
Jun 19 04:00:00 app systemd[1]: securedrop-remove-pending-sources.timer: Succeeded.
Jun 19 04:00:00 app systemd[1]: securedrop-submissions-today.timer: Succeeded.
Jun 20 00:00:02 app systemd[1]: securedrop-clean-tmp.service: Succeeded.
Jun 20 00:00:02 app systemd[1]: securedrop-remove-pending-sources.service: Succeeded.
Jun 20 03:00:21 app systemd[1]: securedrop-submissions-today.service: Succeeded.
Jun 20 04:00:00 app systemd[1]: securedrop-clean-tmp.timer: Succeeded.
Jun 20 04:00:00 app systemd[1]: securedrop-remove-pending-sources.timer: Succeeded.
Jun 20 04:00:00 app systemd[1]: securedrop-submissions-today.timer: Succeeded.
cfm commented 1 year ago

Environment

Basic Server Testing

Command Line User Generation

(Optional) Administration

(Optional) Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

2.6.0 release-specific changes

No, only journalists who have logged in since the upgrade to a v2.6.0 RC have updated password hashes. (This is an error in the test plan, not the implementation of #6657.)

This is a long-running instance with a useful amount of junk:

amnesia@amnesia:~$ ssh app 'sudo -u www-data sqlite3 /var/lib/securedrop/db.sqlite "SELECT COUNT(*) FROM sources;"'
177

This is a long-running instance with a useful amount of junk:

amnesia@amnesia:~$ ssh app sudo systemctl start securedrop-remove-pending-sources.service
amnesia@amnesia:~$ ssh app 'sudo -u www-data sqlite3 /var/lib/securedrop/db.sqlite "SELECT COUNT(*) FROM sources;"'
123
legoktm commented 1 year ago

Environment

Basic Server Testing

Command Line User Generation

(Optional) Administration

(Optional) Application Acceptance Testing

Source Interface

Landing page base cases
First submission base cases
Returning source base cases

Journalist Interface

Login base cases
Index base cases
Individual source page

Basic Tails Testing

After updating to this release candidate and running securedrop-admin tailsconfig

2.6.0 rc2 release-specific changes

cfm commented 1 year ago

Environment

Preflight testing

Basic testing

Tails

eloquence commented 1 year ago

Can also confirm:

New SecureDrop menu appeared for me after reboot & connecting to network, and is working as expected.

zenmonkeykstop commented 1 year ago

Fresh install preflight checks out.