public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Oliver <git@mavit.org.uk>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-packager] f43: fkinit: Request ticket with 28 hour lifetime
Date: Fri, 19 Jun 2026 18:10:28 GMT	[thread overview]
Message-ID: <178189262867.1.12642631089638237498.rpms-fedora-packager-feff4cf26826@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-06-19 18:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178189262867.1.12642631089638237498.rpms-fedora-packager-feff4cf26826@fedoraproject.org \
    --to=git@mavit.org.uk \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox