code: func (p *Pubring) KeyIDs() []string {
  	p.Lock()
  	defer p.Unlock()
  
  	ids := make([]string, 0, len(p.data.PublicKeys))
  	for _, pk := range p.data.PublicKeys {
  		ids = append(ids, pk.Fingerprint)
  	}
  	if p.secring != nil {
  		ids = append(ids, p.secring.KeyIDs()...)
  	}
  	sort.Strings(ids)
  	return ids
  }
docs: // KeyIDs returns a list of all key IDs