gpg.conf: fix local-user/encrypt-to

Resolves: #61
This commit is contained in:
Aminda Suomalainen 2020-02-26 14:53:52 +02:00
parent e2864daf2a
commit ec9206ce5d
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 16 additions and 14 deletions

View File

@ -1,7 +1,7 @@
# Options for GnuPG # Options for GnuPG
# Copyright 1998, 1999, 2000, 2001, 2002, 2003, # Copyright 1998, 1999, 2000, 2001, 2002, 2003,
# 2010 Free Software Foundation, Inc. # 2010 Free Software Foundation, Inc.
# 2012 - 2018 Mikaela Suomalainen # 2012 - 2020 Mikaela Suomalainen
# This file is free software; as a special exception the author gives # This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without # unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved. # modifications, as long as this notice is preserved.
@ -23,13 +23,15 @@
# Use my key by default, trusted-key puts it to ultimate trust even if the # Use my key by default, trusted-key puts it to ultimate trust even if the
# private key is not present and default-recepient-self is not enough for # private key is not present and default-recepient-self is not enough for
# gpg --encrypt -r # gpg --encrypt -r
local-user 0x99392F62BAE30723 # local-user/encrypt-to take name according to `man gpg`
local-user mikaela@mikaela.info
# Has to be LONG key instead of fingerprint https://dev.gnupg.org/T4855
trusted-key 0x99392F62BAE30723 trusted-key 0x99392F62BAE30723
encrypt-to 0x99392F62BAE30723 encrypt-to mikaela@mikaela.info
# WTOP # WTOP
#local-user 0xDC189FE6FA9BD685 #local-user
#trusted-key 0xDC189FE6FA9BD685 #trusted-key
#encrypt-to 0xDC189FE6FA9BD685 #encrypt-to
# Ignore preferred keyserver and also import non-self-sigs # Ignore preferred keyserver and also import non-self-sigs
keyserver-options no-honor-keyserver-url,no-self-sigs-only keyserver-options no-honor-keyserver-url,no-self-sigs-only

View File

@ -1,7 +1,7 @@
# Options for GnuPG # Options for GnuPG
# Copyright 1998, 1999, 2000, 2001, 2002, 2003, # Copyright 1998, 1999, 2000, 2001, 2002, 2003,
# 2010 Free Software Foundation, Inc. # 2010 Free Software Foundation, Inc.
# 2012 - 2018 Mikaela Suomalainen # 2012 - 2020 Mikaela Suomalainen
# This file is free software; as a special exception the author gives # This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without # unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved. # modifications, as long as this notice is preserved.
@ -23,14 +23,15 @@
# Use my key by default, trusted-key puts it to ultimate trust even if the # Use my key by default, trusted-key puts it to ultimate trust even if the
# private key is not present and default-recepient-self is not enough for # private key is not present and default-recepient-self is not enough for
# gpg --encrypt -r # gpg --encrypt -r
#local-user 0x99392F62BAE30723 # MIKAELA_GREP # MIKAELA_GREP_GPG # local-user/encrypt-to take name according to `man gpg`
#local-user mikaela@mikaela.info # MIKAELA_GREP # MIKAELA_GREP_GPG
# Has to be LONG key instead of fingerprint https://dev.gnupg.org/T4855
#trusted-key 0x99392F62BAE30723 # MIKAELA_GREP # MIKAELA_GREP_GPG #trusted-key 0x99392F62BAE30723 # MIKAELA_GREP # MIKAELA_GREP_GPG
#encrypt-to 0x99392F62BAE30723 # MIKAELA_GREP # MIKAELA_GREP_GPG #encrypt-to mikaela@mikaela.info # MIKAELA_GREP # MIKAELA_GREP_GPG
# WTOP # WTOP
#local-user 0xDC189FE6FA9BD685 # MIKAELA_GREP # MIKAELA_GREP_GPG #local-user # MIKAELA_GREP # MIKAELA_GREP_GPG
#trusted-key 0xDC189FE6FA9BD685 # MIKAELA_GREP # MIKAELA_GREP_GPG #trusted-key # MIKAELA_GREP # MIKAELA_GREP_GPG
#encrypt-to 0xDC189FE6FA9BD685 # MIKAELA_GREP # MIKAELA_GREP_GPG #encrypt-to # MIKAELA_GREP # MIKAELA_GREP_GPG
# Ignore preferred keyserver and also import non-self-sigs # Ignore preferred keyserver and also import non-self-sigs
keyserver-options no-honor-keyserver-url,no-self-sigs-only keyserver-options no-honor-keyserver-url,no-self-sigs-only
@ -46,7 +47,6 @@ keyserver-options no-honor-keyserver-url,no-self-sigs-only
auto-key-retrieve auto-key-retrieve
auto-key-locate local,wkd,dane auto-key-locate local,wkd,dane
# Encrypt to sender's key by default # Encrypt to sender's key by default
default-recipient-self default-recipient-self