We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be awesome if this package can detect if a file is pgp encrypted.
The text was updated successfully, but these errors were encountered:
If there is a file signature bytes header that we can recognize consistently, it can be done. Can you provide it? E.g: file magic numbers header.
Sorry, something went wrong.
Not sure, I know that the file app on linux/mac can detect it. e.g.
file
file test.pgp test.pgp: PGP RSA encrypted session key - keyid:<keyid> RSA (Encrypt or Sign) 2048b .
It's not listed in https://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_numbers_in_files but I'll investigate a bit further.
PGP files will always start with the ASCII text "----- Begin PGP"
No branches or pull requests
It would be awesome if this package can detect if a file is pgp encrypted.
The text was updated successfully, but these errors were encountered: