public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/keychain] f43: Fix keychain.sh for new 3.0.x series
Date: Sat, 29 Aug 2026 15:43:32 GMT [thread overview]
Message-ID: <178801821217.1.7855546816194825824.rpms-keychain-623cd29cf858@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/keychain
Branch : f43
Commit : 623cd29cf858231035d7a7c3bd1cdda32c0a5830
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-29T12:35:15-03:00
Stats : +8/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/keychain/c/623cd29cf858231035d7a7c3bd1cdda32c0a5830?branch=f43
Log:
Fix keychain.sh for new 3.0.x series
---
diff --git a/keychain.sh b/keychain.sh
index 8b47cd2..7b468de 100755
--- a/keychain.sh
+++ b/keychain.sh
@@ -1,22 +1,23 @@
#
# /etc/profile.d/keychain.sh - calling keychain the Fedora way
-# read in user's keychain settings or use defaults running keychain
+# run keychain; it reads ~/.keychainrc itself
# Don't do anything if we're already done.
[ -n "$KEYCHAIN_DONE" ] && return
userhome=$(getent passwd "$USER" | cut -d: -f6)
-if [ "$HOME" = "$userhome" ] && [ -f "$HOME/.keychainrc" ]; then
+if [ "$HOME" = "$userhome" ]; then
+
+ [ -n "$KCHOPTS" ] || KCHOPTS="--quiet --immediate"
- . "$HOME/.keychainrc"
- [ -n "$KCHOPTS" ] || KCHOPTS="--quiet"
case $- in
*i*) ;;
*) KCHOPTS="$KCHOPTS --noask" ;;
esac
- [ -n "$SSHKEYS" ] || SSHKEYS=$(grep -s -l -e '[DRS]S[AH] PRIVATE KEY' \
- $HOME/.ssh/*)
- [ -n "$GPGKEYS" ] || GPGKEYS=""
+
+ SSHKEYS=$(grep -s -l -e '[DRS]S[AH] PRIVATE KEY' \
+ "$HOME"/.ssh/*)
+ GPGKEYS=""
keychain $KCHOPTS $SSHKEYS $GPGKEYS
reply other threads:[~2026-08-29 15:43 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=178801821217.1.7855546816194825824.rpms-keychain-623cd29cf858@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--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