Page MenuHome GnuPG

Kleopatra: Suggest validity date of subkeys to validity of primary key if this is shorter than 3 years
Closed, ResolvedPublic

Description


Trying to change the validity of a subkey results in an (non permanent) error.

  1. Choose the subkey
  2. Choose "change validity" (You see the "valid until" field is prefilled with today +3 years)
  3. Choose radio button "valid until" and select the date-chooser.
  4. Immediately an error is shown, complaining that the date must not be after the validity of the primary key.

Please prefill the "valid until" field with the validity of the primary key, if this is less than 3 years in the future.

Event Timeline

alexk triaged this task as Normal priority.Jul 11 2024, 1:55 PM
alexk created this task.
TobiasFella set External Link to https://invent.kde.org/pim/kleopatra/-/merge_requests/244.
TobiasFella moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ikloecker renamed this task from Kleopatra: Sugest validty date of subkeys to validity of primary key if this is shorter than 3 years to Kleopatra: Suggest validity date of subkeys to validity of primary key if this is shorter than 3 years.Jul 11 2024, 5:29 PM
TobiasFella changed the task status from Open to Testing.Jul 15 2024, 3:04 PM
ikloecker added a subscriber: ikloecker.

I'm pretty sure that this bug fix should be backported for VSD 3.3.

Backported for VSD 3.3

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 1 2024, 3:55 PM
ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ebo added a subscriber: ebo.

Gpg4win 4.4: ok, now the date of the main key is preset as the expiry date of the main key if it is less then 3 years in the future. Otherwise 3 years from now is preset.