$ gpg2 --version
gpg (GnuPG) 2.1.1
libgcrypt 1.6.2
[..]
make a clean homedir to test with
$ mkdir gpg && chmod 700 gpg
import my own key
$ gpg2 --homedir gpg --keyserver pool.sks-keyservers.net --recv-keys
0x1318efac5fbbdbce
gpg: keybox 'gpg/pubring.kbx' created
gpg: gpg/trustdb.gpg: trustdb created
gpg: key 5FBBDBCE: public key "Ximin Luo <infinity0@pwned.gg>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
on first import, key has unknown validity
$ gpg2 --homedir gpg -k 0x1318efac5fbbdbce
pub rsa4096/5FBBDBCE 2010-08-03 [expires: 2016-01-01]
uid [ unknown] Ximin Luo <infinity0@pwned.gg>
uid [ unknown] Ximin Luo <infinity0@gmx.com>
uid [ unknown] Ximin Luo <infinity0@torproject.org>
uid [ unknown] Ximin Luo <infinity0@freenetproject.org>
sub rsa4096/91B24B90 2012-09-22 [expires: 2016-01-01]
sub rsa4096/8F650B79 2013-06-14 [expires: 2016-01-01]
sub elg4096/F77B29F4 2014-08-01 [expires: 2015-02-27]
set ultimate ownertrust
$ gpg2 --homedir gpg --edit-key 0x1318efac5fbbdbce
gpg (GnuPG) 2.1.1; Copyright (C) 2014 Free Software Foundation, Inc.
[..]
gpg> trust
[..]
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu
Your decision? 5
Do you really want to set this key to ultimate trust? (y/N) y
[..]
Please note that the shown key validity is not necessarily correct
unless you restart the program.
gpg> save
Key not changed so no update needed.
now key also has ultimate validity
$ gpg2 --homedir gpg -k 0x1318efac5fbbdbce
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2016-01-01
pub rsa4096/5FBBDBCE 2010-08-03 [expires: 2016-01-01]
uid [ultimate] Ximin Luo <infinity0@pwned.gg>
uid [ultimate] Ximin Luo <infinity0@gmx.com>
uid [ultimate] Ximin Luo <infinity0@torproject.org>
uid [ultimate] Ximin Luo <infinity0@freenetproject.org>
sub rsa4096/91B24B90 2012-09-22 [expires: 2016-01-01]
sub rsa4096/8F650B79 2013-06-14 [expires: 2016-01-01]
sub elg4096/F77B29F4 2014-08-01 [expires: 2015-02-27]
import another key, signed by my key
$ gpg2 --homedir gpg --keyserver pool.sks-keyservers.net --recv-keys
0xCCD2ED94D21739E9
gpg: key D21739E9: public key "Daniel Kahn Gillmor <dkg@fifthhorseman.net>" imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 1 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 1 signed: 1 trust: 1-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2015-02-26
gpg: Total number processed: 1
gpg: imported: 1
why does importing another key make it have non-ultimate validity???
$ gpg2 --homedir gpg -k 0x1318efac5fbbdbce
pub rsa4096/5FBBDBCE 2010-08-03 [expires: 2016-01-01]
uid [ undef ] Ximin Luo <infinity0@pwned.gg>
uid [ undef ] Ximin Luo <infinity0@gmx.com>
uid [ undef ] Ximin Luo <infinity0@torproject.org>
uid [ undef ] Ximin Luo <infinity0@freenetproject.org>
sub rsa4096/91B24B90 2012-09-22 [expires: 2016-01-01]
sub rsa4096/8F650B79 2013-06-14 [expires: 2016-01-01]
sub elg4096/F77B29F4 2014-08-01 [expires: 2015-02-27]
yet the other key has full validity (because my key has signed it)???
$ gpg2 --homedir gpg -k 0xCCD2ED94D21739E9
pub rsa4096/D21739E9 2007-06-02 [expires: 2015-02-26]
uid [ full ] Daniel Kahn Gillmor <dkg@fifthhorseman.net>
uid [ unknown] Daniel Kahn Gillmor <dkg@aclu.org>
uid [ full ] Daniel Kahn Gillmor <dkg@debian.org>
uid [ full ] Daniel Kahn Gillmor <dkg@openflows.com>
uid [ unknown] [jpeg image of size 3515]
sub rsa2048/4BFA08E4 2008-06-19 [expires: 2015-02-26]
sub rsa4096/21484CFF 2007-06-02 [expires: 2015-02-26]
sub rsa4096/1BFDFA5C 2013-03-12 [expires: 2015-03-12]
direct trust model works fine...
$ gpg2 --homedir gpg --trust-model=direct -k 0x1318efac5fbbdbce
pub rsa4096/5FBBDBCE 2010-08-03 [expires: 2016-01-01]
uid [ultimate] Ximin Luo <infinity0@pwned.gg>
uid [ultimate] Ximin Luo <infinity0@gmx.com>
uid [ultimate] Ximin Luo <infinity0@torproject.org>
uid [ultimate] Ximin Luo <infinity0@freenetproject.org>
sub rsa4096/91B24B90 2012-09-22 [expires: 2016-01-01]
sub rsa4096/8F650B79 2013-06-14 [expires: 2016-01-01]
sub elg4096/F77B29F4 2014-08-01 [expires: 2015-02-27]