isValidKeyFormat performs basic validation on key format
(key string)
| 195 | |
| 196 | // isValidKeyFormat performs basic validation on key format |
| 197 | func (s *KeyService) isValidKeyFormat(key string) bool { |
| 198 | return strings.TrimSpace(key) != "" |
| 199 | } |
| 200 | |
| 201 | // RestoreMultipleKeys handles the business logic of restoring keys from a text block. |
| 202 | func (s *KeyService) RestoreMultipleKeys(groupID uint, keysText string) (*RestoreKeysResult, error) { |
no outgoing calls
no test coverage detected