code: func stripContent(fullSig string) (string, error) {
  	parts := strings.Split(fullSig, ".")
  	if len(parts) != 3 {
  		return "", fmt.Errorf("compact JWS format must have three parts")
  	}
  
  	return parts[0] + ".." + parts[2], nil
  }
docs: // stripContent will remove the content part of a compact JWS
  //
  // The `go-jose` library doesn't support generating signatures with "detached"
  // content. To make up for this we take the full compact signature, break it
  // apart and put it back together without the content section.