Guest User

Untitled

a guest
Nov 14th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. root@7353afd2c546:/# gpg --with-keygrip --with-secret --batch --with-colons --status-fd 1 --list-keys
  2. tru::1:1542186184:0:3:1:5
  3. pub:-:4096:1:B6A8B64B909CAF2F:1541574504:::-:::scESC:::#:::23::0:
  4. fpr:::::::::DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F:
  5. grp:::::::::9BEB53AD0C68FC629997DB0597DDD758C632B9CD:
  6. uid:-::::1541574504::5D90CFACEB3B07D9914327FD2981787B56ACD4A2::Testy <test@example.com>::::::::::0:
  7. sub:-:4096:1:0E839DDD93691327:1541574504::::::e:::+:::23:
  8. fpr:::::::::B9A633DBD1A309DB71ED55940E839DDD93691327:
  9. grp:::::::::6D475E5BA6A1502B1C083F780A537DBC15643EEA:
  10.  
  11. root@7353afd2c546:/# cat /root/.gnupg/commands
  12. trust 5
  13. save
  14.  
  15. root@7353afd2c546:/# gpg --batch --yes --status-fd 1 --command-file /root/.gnupg/commands --edit-key DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F
  16. [GNUPG:] KEY_CONSIDERED DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F 0
  17. Secret subkeys are available.
  18.  
  19.  
  20. pub:-:4096:1:B6A8B64B909CAF2F:1541574504:0::-:::sc
  21. fpr:::::::::DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F:
  22. ssb:-:4096:1:0E839DDD93691327:1541574504:0:::::e
  23. fpr:::::::::B9A633DBD1A309DB71ED55940E839DDD93691327:
  24. uid:-::::::::Testy <test@example.com>:::S9 S8 S7 S2 H10 H9 H8 H11 H2 Z2 Z3 Z1,mdc,no-ks-modify:1,p::
  25. [GNUPG:] GET_LINE keyedit.prompt
  26. [GNUPG:] GOT_IT
  27.  
  28. Please decide how far you trust this user to correctly verify other users' keys
  29. (by looking at passports, checking fingerprints from different sources, etc.)
  30.  
  31. 1 = I don't know or won't say
  32. 2 = I do NOT trust
  33. 3 = I trust marginally
  34. 4 = I trust fully
  35. 5 = I trust ultimately
  36. m = back to the main menu
  37.  
  38. pub:-:4096:1:B6A8B64B909CAF2F:1541574504:0::-:::sc
  39. fpr:::::::::DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F:
  40. ssb:-:4096:1:0E839DDD93691327:1541574504:0:::::e
  41. fpr:::::::::B9A633DBD1A309DB71ED55940E839DDD93691327:
  42. uid:-::::::::Testy <test@example.com>:::S9 S8 S7 S2 H10 H9 H8 H11 H2 Z2 Z3 Z1,mdc,no-ks-modify:1,p::
  43. [GNUPG:] GET_LINE edit_ownertrust.value
  44. [GNUPG:] GOT_IT
  45. [GNUPG:] GET_LINE edit_ownertrust.value
  46. [GNUPG:] GOT_IT
  47.  
  48. [GNUPG:] GET_LINE keyedit.prompt
  49. [GNUPG:] GOT_IT
  50.  
  51. root@7353afd2c546:/# gpg --edit-key DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F
  52. gpg (GnuPG) 2.2.4; Copyright (C) 2017 Free Software Foundation, Inc.
  53. This is free software: you are free to change and redistribute it.
  54. There is NO WARRANTY, to the extent permitted by law.
  55.  
  56. Secret subkeys are available.
  57.  
  58. pub rsa4096/B6A8B64B909CAF2F
  59. created: 2018-11-07 expires: never usage: SC
  60. trust: never validity: unknown
  61. ssb rsa4096/0E839DDD93691327
  62. created: 2018-11-07 expires: never usage: E
  63. [ unknown] (1). Testy <test@example.com>
  64.  
  65. gpg> trust
  66. pub rsa4096/B6A8B64B909CAF2F
  67. created: 2018-11-07 expires: never usage: SC
  68. trust: never validity: unknown
  69. ssb rsa4096/0E839DDD93691327
  70. created: 2018-11-07 expires: never usage: E
  71. [ unknown] (1). Testy <test@example.com>
  72.  
  73. Please decide how far you trust this user to correctly verify other users' keys
  74. (by looking at passports, checking fingerprints from different sources, etc.)
  75.  
  76. 1 = I don't know or won't say
  77. 2 = I do NOT trust
  78. 3 = I trust marginally
  79. 4 = I trust fully
  80. 5 = I trust ultimately
  81. m = back to the main menu
  82.  
  83. Your decision? 5
  84. Do you really want to set this key to ultimate trust? (y/N) y
  85.  
  86. pub rsa4096/B6A8B64B909CAF2F
  87. created: 2018-11-07 expires: never usage: SC
  88. trust: ultimate validity: unknown
  89. ssb rsa4096/0E839DDD93691327
  90. created: 2018-11-07 expires: never usage: E
  91. [ unknown] (1). Testy <test@example.com>
  92. Please note that the shown key validity is not necessarily correct
  93. unless you restart the program.
  94.  
  95. gpg> save
  96. Key not changed so no update needed.
  97.  
  98. root@7353afd2c546:/# gpg --with-keygrip --with-secret --batch --with-colons --status-fd 1 --list-keys
  99. gpg: checking the trustdb
  100. tru:o:1:1542190815:1:3:1:5
  101. [GNUPG:] KEY_CONSIDERED DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F 0
  102. gpg: marginals needed: 3 completes needed: 1 trust model: pgp
  103. gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
  104. pub:u:4096:1:B6A8B64B909CAF2F:1541574504:::u:::scESC:::#:::23::0:
  105. fpr:::::::::DE29CBE0AC9B2EB810E694D7B6A8B64B909CAF2F:
  106. grp:::::::::9BEB53AD0C68FC629997DB0597DDD758C632B9CD:
  107. uid:u::::1541574504::5D90CFACEB3B07D9914327FD2981787B56ACD4A2::Testy <test@example.com>::::::::::0:
  108. sub:u:4096:1:0E839DDD93691327:1541574504::::::e:::+:::23:
  109. fpr:::::::::B9A633DBD1A309DB71ED55940E839DDD93691327:
  110. grp:::::::::6D475E5BA6A1502B1C083F780A537DBC15643EEA:
Add Comment
Please, Sign In to add comment