public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-packager] f43: fkinit: Request ticket with 28 hour lifetime
@ 2026-06-19 18:10 Peter Oliver
  0 siblings, 0 replies; only message in thread
From: Peter Oliver @ 2026-06-19 18:10 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-packager
            Branch : f43
            Commit : feff4cf268262addfa37ef61ba98e6556beee813
            Author : Peter Oliver <git@mavit.org.uk>
            Date   : 2026-06-19T12:55:47+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-packager/c/feff4cf268262addfa37ef61ba98e6556beee813?branch=f43

            Log:
            fkinit: Request ticket with 28 hour lifetime

This is the maximum lifetime currently allowed by the Fedora KDC.

Having a ticket with a lifetime longer than 24 hours makes the ticket easier to renew if one logs into ones computer at around the same time every day.

---
diff --git a/fkinit b/fkinit
index 537edc0..3080292 100755
--- a/fkinit
+++ b/fkinit
@@ -112,7 +112,7 @@ kinit -n @$domain -c FILE:$armorcache
 F_PASSWORD=$(systemd-ask-password --timeout=0 "FAS password:")
 F_OTP=${FKINIT_OTP:-$(systemd-ask-password --timeout=0 "FAS OTP (leave blank if not configured):")}
 
-kinit -T FILE:$armorcache $_arg_user@$domain <<< "${F_PASSWORD}${F_OTP}" >/dev/null
+kinit -T FILE:$armorcache -l 28h $_arg_user@$domain <<< "${F_PASSWORD}${F_OTP}" >/dev/null
 unset F_PASSWORD
 unset F_OTP
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-19 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 18:10 [rpms/fedora-packager] f43: fkinit: Request ticket with 28 hour lifetime Peter Oliver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox