Protect Clipboard Contents

Content Protection is a straightforward approach in Cliptopia.

Cliptopia offers out of the box protection for:
  • GitLab
  • GitHub Tokens
  • SSH Keys
  • Git Remote Login Urls

All these rules are written in ~/.config/exclusion-config.json.

Here's the structure ...
{
"exclusions": [
{
"name": "GitHub Token",
"pattern": "^[a-zA-Z0-9]{40}
quot;
},
{
"name": "Gitlab Token",
"pattern": "^[a-zA-Z0-9_-]{20,}
quot;
},
{
"name": "Git HTTPS Url",
"pattern": "^https:\\/\\/([^:]+):([^@]+)@([^\\/]+)\\/(.+\/[^.]+)\\.git
quot;
},
{
"name": "SSH Key",
"pattern": "^ssh-rsa\\s+[A-Za-z0-9+/]+[=]{0,3}(\\s+[^\\s]+)?\\s*
quot;
}
]
}
All these patterns are then read by  The Daemon  in realtime and it prevents watching any data that matches these regex filters.

This is even readable from the Security Tab...
You are free to add any filter you want.