Bläddra i källkod

dev: automated commit - 2025-09-06 18:25:07

Mariano Z. 5 månader sedan
förälder
incheckning
8a557666a3

BIN
gnupg/.gnupg/gpg-agent.conf


BIN
gnupg/.gnupg/gpg.conf


BIN
gnupg/.gnupg/sshcontrol


+ 12 - 0
local-bin/.local/bin/pinentry-wrapper

@@ -0,0 +1,12 @@
+#!/bin/sh
+# Context-aware pinentry wrapper
+# Uses pinentry-curses for terminal sessions and pinentry-gtk for GUI sessions
+
+# Check if we're in a graphical environment
+if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then
+    # GUI environment - use GTK pinentry
+    exec /usr/bin/pinentry-gtk "$@"
+else
+    # Terminal environment - use curses pinentry
+    exec /usr/bin/pinentry-curses "$@"
+fi

+ 3 - 0
zsh/.config/zsh/.zprofile

@@ -1,6 +1,9 @@
 # === Zsh Profile Configuration ===
 # This file is sourced for login shells
 
+# Source environment configuration (includes GPG setup)
+source ~/.config/env
+
 # Set ZDOTDIR if not already set
 export ZDOTDIR=${ZDOTDIR:-~/.config/zsh}
 

BIN
zsh/.config/zsh/zsh_history_fw