LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-22-2024, 06:31 AM   #1
dogemeister
LQ Newbie
 
Registered: Mar 2024
Distribution: Slackware
Posts: 5

Rep: Reputation: 2
Wink Slackware Official GPG-KEY Expiration


Not sure how many of you have looked at the official Slackware GPG-KEY, and maybe I'm late to the party noticing this, but it expires on a rather peculiar date.

Code:
security@slackware.com public key

pub   1024D/40102233 2003-02-26 [expires: 2038-01-19]
uid                  Slackware Linux Project <security@slackware.com>
sub   1024g/4E523569 2003-02-26 [expires: 2038-01-19]
Just thought this would be a funny mention for anyone who hadn't noticed.

Or perhaps rather than being a funny reference to the problem, it is some mitigation for or manifestation of said problem?

Last edited by dogemeister; 04-22-2024 at 06:33 AM.
 
Old 04-22-2024, 12:07 PM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,376

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Quote:
Originally Posted by dogemeister View Post
Not sure how many of you have looked at the official Slackware GPG-KEY, and maybe I'm late to the party noticing this, but it expires on a rather peculiar date.

Code:
security@slackware.com public key

pub   1024D/40102233 2003-02-26 [expires: 2038-01-19]
uid                  Slackware Linux Project <security@slackware.com>
sub   1024g/4E523569 2003-02-26 [expires: 2038-01-19]
Just thought this would be a funny mention for anyone who hadn't noticed.

Or perhaps rather than being a funny reference to the problem, it is some mitigation for or manifestation of said problem?
I doubt there will still be people with 32-bit OS in 2038
If not, too bad for them
 
Old 04-22-2024, 01:01 PM   #3
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 973

Rep: Reputation: 663Reputation: 663Reputation: 663Reputation: 663Reputation: 663Reputation: 663
Quote:
Originally Posted by marav View Post
I doubt there will still be people with 32-bit OS in 2038
If not, too bad for them
Unfortunately, even with a 64 bit operating system, you might still have applications, databases and file systems which stores time stamps as 32 bit integers.

It is said that gpg is one of those applications which will fail if expiration date is set after year 2038. Another problematic software is utmp/wtmp which stores time stamps in 32 bit fields.

regards Henrik
 
1 members found this post helpful.
Old 04-22-2024, 01:14 PM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,376

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Quote:
Originally Posted by henca View Post
It is said that gpg is one of those applications which will fail if expiration date is set after year 2038.
Fixed since 2.4.4
 
4 members found this post helpful.
Old 04-24-2024, 01:13 AM   #5
rsts
LQ Newbie
 
Registered: Sep 2021
Posts: 4

Rep: Reputation: Disabled
The problem isn't the expiration date or 32-bits. The problem is that the preferred signing algorithm for that key is SHA1. SHA1 is considered broken since 2017, but the slackware-security mailing list keeps using it to sign e-mail announcements. One of the consequences is that Thunderbird will mark the message with "Invalid message signature".


Code:
$ gpg2 --edit-key security@slackware.com
gpg (GnuPG) 2.4.4; Copyright (C) 2024 g10 Code GmbH
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


pub  dsa1024/6A4463C040102233
     created: 2003-02-26  expires: 2038-01-19  usage: SCA 
     trust: unknown       validity: full
sub  elg1024/768737F94E523569
     created: 2003-02-26  expires: 2038-01-19  usage: ER  
[  full  ] (1). Slackware Linux Project <security@slackware.com>

gpg> showpref
[  full  ] (1). Slackware Linux Project <security@slackware.com>
     Cipher: AES, CAST5, 3DES
     AEAD: 
     Digest: SHA1, RIPEMD160
     Compression: ZLIB, ZIP, Uncompressed
     Features: MDC, Keyserver no-modify
Note that the preferred algorithm for signing can be changed for the key. I.e. it does not have to be replaced with a new key.

I wish I could somehow convey this to the responsible person(s), but until now I was not successful with that ;-(
 
Old 04-24-2024, 12:30 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,511

Rep: Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475Reputation: 8475
Quote:
Originally Posted by rsts View Post
The problem isn't the expiration date or 32-bits. The problem is that the preferred signing algorithm for that key is SHA1. SHA1 is considered broken since 2017, but the slackware-security mailing list keeps using it to sign e-mail announcements. One of the consequences is that Thunderbird will mark the message with "Invalid message signature".


Code:
$ gpg2 --edit-key security@slackware.com
gpg (GnuPG) 2.4.4; Copyright (C) 2024 g10 Code GmbH
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


pub  dsa1024/6A4463C040102233
     created: 2003-02-26  expires: 2038-01-19  usage: SCA 
     trust: unknown       validity: full
sub  elg1024/768737F94E523569
     created: 2003-02-26  expires: 2038-01-19  usage: ER  
[  full  ] (1). Slackware Linux Project <security@slackware.com>

gpg> showpref
[  full  ] (1). Slackware Linux Project <security@slackware.com>
     Cipher: AES, CAST5, 3DES
     AEAD: 
     Digest: SHA1, RIPEMD160
     Compression: ZLIB, ZIP, Uncompressed
     Features: MDC, Keyserver no-modify
Note that the preferred algorithm for signing can be changed for the key. I.e. it does not have to be replaced with a new key.

I wish I could somehow convey this to the responsible person(s), but until now I was not successful with that ;-(
I'll look into that, but if it's so broken then sign something with my key.
 
Old 04-24-2024, 01:11 PM   #7
rsts
LQ Newbie
 
Registered: Sep 2021
Posts: 4

Rep: Reputation: Disabled
Whoa, thank you for responding, sir!

Quote:
if it's so broken then sign something with my key.
There were times when I could fake the From field in an e-mail. Probably not any longer ;-)
But that does not mean, there aren't any people out there who could. We talk about the main signing key for the distro.
 
Old 04-24-2024, 01:38 PM   #8
rkomar
Member
 
Registered: Mar 2022
Location: Sudbury, ON, Canada
Distribution: Slackware
Posts: 34

Rep: Reputation: 14
Isn't the issue with being able to duplicate the SHA1 digest for a modified object? That is, change the object and add some extra bytes to produce the same digest so that the signature still applies. That would be easier for SHA1 than another algorithm that produces more output bytes.

Last edited by rkomar; 04-24-2024 at 01:43 PM.
 
  


Reply

Tags
gpg, key, mirror, mirrors, repo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gpg / gpg-agent -- Can't connect to /root/.gnupg/S.gpg-agent jrtayloriv Linux - Security 9 06-03-2019 10:06 AM
Import private key generated from gpg 2.2.10 into gpg 2.0.31 john2x Slackware 0 10-29-2018 03:44 PM
GPG key expiration and keyservers kikinovak Slackware 4 06-19-2015 05:08 AM
GPG: Bad session key gpg between gpg on linux and gpg gui on windows XP konqi Linux - Software 1 07-21-2009 09:37 AM
Question about exact timing of GPG key expiration Asymmetry Linux - Security 2 11-12-2007 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration