code: func gpgHome(ctx context.Context) string {
  	if gh := os.Getenv("GNUPGHOME"); gh != "" {
  		return gh
  	}
  	hd, err := homedir.Dir()
  	if err != nil {
  		out.Debug(ctx, "Failed to get homedir: %s", err)
  		return ""
  	}
  	return filepath.Join(hd, ".gnupg")
  }
docs: // gpgHome returns the gnupg homedir