Created
May 30, 2026 18:57
-
-
Save theking2/b40fa4df3f3780fe8d74edff55284aa8 to your computer and use it in GitHub Desktop.
Create a signed security.txt file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Basic usage | |
| ./create_signed_security_txt.sh -d example.com -c "mailto:security@example.com" -k ABC12345 | |
| # Full example with all options | |
| ./create_signed_security_txt.sh \ | |
| -d example.com \ | |
| -c "mailto:security@example.com" \ | |
| -k ABC12345 \ | |
| -e "https://example.com/pgp-key.asc" \ | |
| -a "https://example.com/thanks" \ | |
| -p "https://example.com/security-policy" \ | |
| -l "en,es,fr" \ | |
| -t "2025-12-31" | |
| # Create without automatic installation | |
| ./create_signed_security_txt.sh -d example.com -c "https://example.com/contact" -k ABC12345 --no-install | |
| # Specify custom output directory | |
| ./create_signed_security_txt.sh -d example.com -c "mailto:security@example.com" -k ABC12345 -o /custom/path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment