pgp_fingerprints.c 838 B

123456789101112131415161718192021222324
  1. /*
  2. * Display the fingerprints of the PGP Master Keys to the user.
  3. *
  4. * (This is in its own file rather than in console.c, because it's
  5. * appropriate even for Unix GUI apps.)
  6. */
  7. #include "putty.h"
  8. void pgp_fingerprints(void)
  9. {
  10. fputs("These are the fingerprints of the PuTTY PGP Master Keys. They can\n"
  11. "be used to establish a trust path from this executable to another\n"
  12. "one. See the manual for more information.\n"
  13. "(Note: these fingerprints have nothing to do with SSH!)\n"
  14. "\n"
  15. "PuTTY Master Key as of " PGP_MASTER_KEY_YEAR
  16. " (" PGP_MASTER_KEY_DETAILS "):\n"
  17. " " PGP_MASTER_KEY_FP "\n\n"
  18. "Previous Master Key (" PGP_PREV_MASTER_KEY_YEAR
  19. ", " PGP_PREV_MASTER_KEY_DETAILS "):\n"
  20. " " PGP_PREV_MASTER_KEY_FP "\n", stdout);
  21. }