Hi,

I followed the test plan as detailed in the description, in a fresh resolute
container and a fresh stonking container. With the apt currently in -updates
(3.2.1ubuntu0.1 on resolute, 3.3.3ubuntu0.1 on stonking) I observed all the
failures the test plan describes. I then installed apt, libapt-pkg7.0 and
apt-utils from -proposed (3.2.2ubuntu0.1 on resolute, 3.3.3ubuntu0.2 on
stonking) and repeated the same steps, and confirmed that the failures no longer
occur.

Details of the testing with the -proposed versions:

- apt-helper hash-file with a failing SHA256 call now reports "Computing the
  SHA256 hash failed: internal error" and exits 100, instead of printing a wrong
  hash with exit 0.
- An https download with a failing SHA256 (SHA512 on stonking) fails with the
  same error, no retries and no "OpenSSL error".
- apt-ftparchive with a failing SHA256 prints the error and no SHA256 line.
- A download with no hash algorithm available is refused with "Insufficient
  information available to perform this download securely".
- Normal apt update and apt install over http and https still work

** Tags removed: verification-needed-resolute verification-needed-stonking
** Tags added: verification-done-resolute verification-done-stonking

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172252

Title:
  [SRU] apt mishandles OpenSSL hashing failures: downloads verified on
  size alone, silent partial hashes, stale OpenSSL errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2172252/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to