Bug#932943: hex or base64

2020-06-07 Thread kuLa
On 6 June 2020 18:59:28 BST, Thomas Lange  wrote:
>> On Sat, 6 Jun 2020 19:35:45 +0200, Bastian Blank
> said:
>
>> Now the remaining question is: GNU or BSD style checksum files?
>Let's use the same as our installer images use. This is GNU style.
>We should keep a common style on our Debian ISO images both for
>install and cloud images.

I agree, closer to the 'default' the better imo.



Bug#932943: hex or base64

2020-06-06 Thread Thomas Lange
> On Sat, 6 Jun 2020 19:35:45 +0200, Bastian Blank  said:

> Now the remaining question is: GNU or BSD style checksum files?
Let's use the same as our installer images use. This is GNU style.
We should keep a common style on our Debian ISO images both for
install and cloud images.

-- 
regards Thomas



Bug#932943: hex or base64

2020-06-06 Thread Bastian Blank
On Sat, Jun 06, 2020 at 07:16:59PM +0200, Bastian Blank wrote:
> That's exactly what this change does:
> https://salsa.debian.org/cloud-team/debian-cloud-images/-/merge_requests/203

Now the remaining question is: GNU or BSD style checksum files?

GNU: "checksum  filename"
- No information which type, so filename need to show.
- Different types in different files.

BSD: "type (file) = checksum"
- Can contain different checksums for the same file.
- The *sum tools from coreutils read only the one exact variant.

Regards,
Bastian

-- 
You canna change the laws of physics, Captain; I've got to have thirty minutes!



Bug#932943: hex or base64

2020-06-06 Thread Bastian Blank
On Mon, May 18, 2020 at 11:56:15AM +0200, Thomas Lange wrote:
> I've checked some other distributions in may 2020. They all use hex.

Well, they ship a single file for consumption by "sha512sum", which we
currently don't.

> Maybe provide base64 and hex in our manifest but also sha{265,512}sum
> hex files in the download directory on our server (petterson).

That's exactly what this change does:

https://salsa.debian.org/cloud-team/debian-cloud-images/-/merge_requests/203

Regards,
Bastian

-- 
I've already got a female to worry about.  Her name is the Enterprise.
-- Kirk, "The Corbomite Maneuver", stardate 1514.0



Bug#932943: hex or base64

2020-05-18 Thread Thomas Lange
Hi Bastian,

in aug 2019 you wrote

> Use base64 like everyone else.
and
> Everything current switches to base64.  It's shorter and easier to see
> changes.  Hex only survives where people tend to read it.

I've checked some other distributions in may 2020. They all use hex.
They also provide checksum of all files that are available for
download. For e.g. tar.xz or uncompressed images.

https://cloud-images.ubuntu.com/focal/current/
https://cloud.centos.org/centos/7/images/
https://getfedora.org/static/checksums/Fedora-Cloud-32-1.6-x86_64-CHECKSUM

Also, since today the Debian project is still not using base64 hash sums for
their official CD/DVD images. I suggest that we provide both base64 and
hex versions of the checksum.

Maybe provide base64 and hex in our manifest but also sha{265,512}sum
hex files in the download directory on our server (petterson).

We should focus on our users and IMO users still use hex checksums.
-- 
regards Thomas