code: func loadKey(keypath string) (*openpgp.Entity, error) {
  	f, err := os.Open(keypath)
  	if err != nil {
  		return nil, err
  	}
  	defer f.Close()
  
  	pr := packet.NewReader(f)
  	return openpgp.ReadEntity(pr)
  }
docs: // loadKey loads a GPG key found at a particular path.