The usage of solana-security-txt previously recommended in the official usage guide has an issue:
When multiple projects within a build, including dependencies, define a security-txt, the build fails.
To avoid this issue, library authors - including projects that might be used as a library by others in the future - should exclude the security_txt macro during no-entrypoint builds.
The usage of
solana-security-txt
previously recommended in the official usage guide has an issue:When multiple projects within a build, including dependencies, define a security-txt, the build fails.
To avoid this issue, library authors - including projects that might be used as a library by others in the future - should exclude the
security_txt
macro duringno-entrypoint
builds.Feel free to read up on the details in the issue on the security-txt repository.
The official usage guide has also been updated. This PR includes the recommended changes.