From a0acdd69af37a7b727a15d81277f35c1b5cd9768 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sat, 11 Mar 2023 16:10:15 +0200 Subject: [PATCH] comment gpg and add alias ldap search --- bashrc.d/alias_ldap_search | 2 ++ bashrc.d/gpg_ssh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 bashrc.d/alias_ldap_search diff --git a/bashrc.d/alias_ldap_search b/bashrc.d/alias_ldap_search new file mode 100644 index 0000000..a823d93 --- /dev/null +++ b/bashrc.d/alias_ldap_search @@ -0,0 +1,2 @@ +#!/bin/bash +alias ldap_search='ldapsearch -z 0 -t -x -w "$(pass show Imp_2023-03-10/Koti.site/omapilvi.koti.site | head -n 1)" -LLL -H ldap://ldap.koti.site:389 -b dc=koti,dc=site -D "uid=${USER},ou=People,ou=Users,dc=koti,dc=site"' diff --git a/bashrc.d/gpg_ssh b/bashrc.d/gpg_ssh index 730a5a8..081afb3 100644 --- a/bashrc.d/gpg_ssh +++ b/bashrc.d/gpg_ssh @@ -1,5 +1,5 @@ #!/bin/bash # GPG and SSH -SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) -export SSH_AUTH_SOCK -gpgconf --launch gpg-agent +# SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +# export SSH_AUTH_SOCK +# gpgconf --launch gpg-agent