[Bug 1234705] [NEW] apt-ftparchive writes SHA256 checksums in place of SHA512 in Sources

Colin Watson cjwatson at canonical.com
Thu Oct 3 13:15:42 UTC 2013


Public bug reported:

When apt-ftparchive is called upon to generate SHA512 checksums for a
source package (e.g. when generating a Sources file referring to a .dsc
that doesn't contain such checksums), the version in precise, quantal,
and raring generate SHA256 checksums instead and claim they're SHA512.
This is due to this line which is obviously incorrect once you notice
it:

  SHA256Summation SHA512;

We need to fix this before Launchpad production is upgraded from lucid
to precise.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: apt (Ubuntu Precise)
     Importance: High
     Assignee: Colin Watson (cjwatson)
         Status: Triaged

** Affects: apt (Ubuntu Quantal)
     Importance: High
     Assignee: Colin Watson (cjwatson)
         Status: Triaged

** Affects: apt (Ubuntu Raring)
     Importance: High
     Assignee: Colin Watson (cjwatson)
         Status: Triaged

** Also affects: apt (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: apt (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: apt (Ubuntu Raring)
   Importance: Undecided
       Status: New

** Changed in: apt (Ubuntu)
       Status: New => Fix Released

** Changed in: apt (Ubuntu Precise)
       Status: New => Triaged

** Changed in: apt (Ubuntu Precise)
   Importance: Undecided => High

** Changed in: apt (Ubuntu Precise)
     Assignee: (unassigned) => Colin Watson (cjwatson)

** Changed in: apt (Ubuntu Precise)
    Milestone: None => ubuntu-12.04.4

** Changed in: apt (Ubuntu Quantal)
       Status: New => Triaged

** Changed in: apt (Ubuntu Quantal)
   Importance: Undecided => High

** Changed in: apt (Ubuntu Quantal)
     Assignee: (unassigned) => Colin Watson (cjwatson)

** Changed in: apt (Ubuntu Raring)
       Status: New => Triaged

** Changed in: apt (Ubuntu Raring)
   Importance: Undecided => High

** Changed in: apt (Ubuntu Raring)
     Assignee: (unassigned) => Colin Watson (cjwatson)

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

Title:
  apt-ftparchive writes SHA256 checksums in place of SHA512 in Sources

Status in “apt” package in Ubuntu:
  Fix Released
Status in “apt” source package in Precise:
  Triaged
Status in “apt” source package in Quantal:
  Triaged
Status in “apt” source package in Raring:
  Triaged

Bug description:
  When apt-ftparchive is called upon to generate SHA512 checksums for a
  source package (e.g. when generating a Sources file referring to a
  .dsc that doesn't contain such checksums), the version in precise,
  quantal, and raring generate SHA256 checksums instead and claim
  they're SHA512.  This is due to this line which is obviously incorrect
  once you notice it:

    SHA256Summation SHA512;

  We need to fix this before Launchpad production is upgraded from lucid
  to precise.

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



More information about the foundations-bugs mailing list