comment gpg and add alias ldap search

This commit is contained in:
Antonio J. Delgado 2023-03-11 16:10:15 +02:00
parent 39e749ab7f
commit a0acdd69af
2 changed files with 5 additions and 3 deletions

View file

@ -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"'

View file

@ -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