2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00
Commit Graph

1515 Commits

Author SHA1 Message Date
Jay Berkenbilt
656d7bc006 Rename test files
This change makes it possible to get both the user and owner password
from the file name of all the encryption test files.
2020-01-26 14:42:10 -05:00
Jay Berkenbilt
731c4f711b Add --is-encrypted and --requires-password (fixes #390)
Allow exit status-based checking of whether a file is encrypted or
requires a password without necessarily supplying the correct
password. Useful for scripting.
2020-01-26 11:26:53 -05:00
Jay Berkenbilt
8b1c4828b7 Update autoconf/libtool files 2020-01-25 08:55:43 -05:00
Jay Berkenbilt
7b6ed928ae Update MacOS Azure Pipelines image 2020-01-24 22:35:40 -05:00
Jay Berkenbilt
3dd3169a1c Travis: adding missing dependency
I don't use the travis build since I get more functionality on Azure
pipelines. I should remove it.
2020-01-20 15:06:48 -05:00
Jay Berkenbilt
3334a89d80 AppImage: warn if older than Ubuntu 16.04
14.04 has been out of security support for a while.
2020-01-20 15:04:51 -05:00
Cloudmersive
a8b6ff5763 Fix for Windows unable to acquire crypt context with new keyset (fixes #387)
Fix is based on guidance
https://support.microsoft.com/en-us/help/238187/cryptacquirecontext-use-and-troubleshooting
and is the proper fix for #285/#286
2020-01-14 18:45:54 -05:00
Jay Berkenbilt
73a0e3a932 Begin release notes for 9.1.1 2020-01-14 11:53:37 -05:00
Jay Berkenbilt
388990f7bc Rewrite fix-qdf in C++ 2020-01-14 11:53:19 -05:00
Jay Berkenbilt
a44b5a34a0 Pull wmain -> main code from qpdf.cc into QUtil.cc 2020-01-14 11:40:51 -05:00
Jay Berkenbilt
ab4061f1ee Add error detection for read_lines_from_file(FILE*) 2020-01-14 11:07:09 -05:00
Jay Berkenbilt
211a7f57be QUtil::read_lines_from_file: optional EOL preservation 2020-01-13 11:26:18 -05:00
Jay Berkenbilt
9a398504ca Refactor QUtil::read_lines_from_file
This commit adds the preserve_eol flags but doesn't implement EOL
preservation yet.
2020-01-13 09:19:53 -05:00
Jay Berkenbilt
7524165540 Add std::regex to c++11 feature tests 2020-01-13 09:19:03 -05:00
Jay Berkenbilt
49f4600dd6 TODO: Move lexical stuff and add detail 2020-01-13 09:18:36 -05:00
Jay Berkenbilt
0ae19c375e TODO: Remove fixed item, move item into ABI section 2019-12-30 09:18:02 -05:00
Gábor Lipták
1e0b1025f3 Update Travis to Xenial 2019-12-17 13:30:53 -05:00
Jay Berkenbilt
18e558e721 Update qtest version to 1.6 2019-12-17 11:30:03 -05:00
Jay Berkenbilt
e35e4099a2 Remove misspelled word from spell check dictionary 2019-12-03 09:03:44 -05:00
Matthias Braun
b456bddcf0 Fix spelling and make some links HTTPS in README 2019-12-03 09:02:59 -05:00
Jay Berkenbilt
9b0c6022d7 Prepare 9.1.0 release 2019-11-16 22:29:54 -05:00
Jay Berkenbilt
9b577c3cb0 More maintainer notes 2019-11-16 22:29:05 -05:00
Jay Berkenbilt
b9f06fedf1 Fix error in manual 2019-11-15 10:29:11 -05:00
Jay Berkenbilt
b76af9242f Clean up documentation around gnutls and C++-11 2019-11-11 14:14:31 -05:00
Jay Berkenbilt
db7d6030a0 Update AppImage to use Ubuntu 16.04 since 14.04 is out of support 2019-11-10 20:40:30 -05:00
Jay Berkenbilt
5e936dddff Use gnutls crypto provider in the AppImage 2019-11-10 20:19:59 -05:00
Jay Berkenbilt
0e94aa6919 Fix up documentation around Windows wildcard fix 2019-11-10 20:19:38 -05:00
Jay Berkenbilt
5e6dfc938e Prepare 9.1.rc1 release 2019-11-09 22:00:53 -05:00
Jay Berkenbilt
f60b4ead18 Search for gnutls if not found with pkg-config 2019-11-09 22:00:41 -05:00
Jay Berkenbilt
021d71454a Spell check 2019-11-09 19:03:56 -05:00
Jay Berkenbilt
07da0039d3 Link with setargv or wsetargv with MSVC (fixes #224)
For wildcard expansion to work properly with the msvc binary, it is
necessary to link with setargv.obj or wsetargv.obj, depending on
whether wmain is in use.
2019-11-09 18:50:42 -05:00
Jay Berkenbilt
a58918bb87 Explicitly disable gnutls for Windows build 2019-11-09 15:55:05 -05:00
Jay Berkenbilt
c4478e5249 Allow odd/even modifiers in numeric range (fixes #364) 2019-11-09 13:23:12 -05:00
Jay Berkenbilt
c9cc83621b Add the word "slow" to preserved unreferenced resources docs (fixes #380)
This makes it more likely for someone who notices a big slow-down in
page splitting to discover the option.
2019-11-09 12:33:15 -05:00
Jay Berkenbilt
5508f74603 Allow /P in encryption dictionary to be positive (fixes #382)
Even though this is disallowed by the spec, files like this have been
encountered in the wild.
2019-11-09 12:33:15 -05:00
Jay Berkenbilt
b997fa5343 Start list of ABI changes for qpdf 10 2019-11-09 12:33:15 -05:00
Jay Berkenbilt
e5cec314bc Update release notes for crypto providers 2019-11-09 12:33:15 -05:00
Jay Berkenbilt
1ee45458fc Update docs for crypto providers 2019-11-09 09:53:42 -05:00
Jay Berkenbilt
70b8c41f46 Run all crypto providers in CI for Linux and sanitizer builds 2019-11-09 09:53:42 -05:00
Jay Berkenbilt
1639d972ea Run libtests for crypto with all available providers
If QPDF_CRYPTO_PROVIDER is set, just run the tests for the given
provider. This is to support cases of running the entire test suite
for each provider. If QPDF_CRYPTO_PROVIDER is not set, run the tests
that exercise the cyrpto provider for each available provider.
2019-11-09 09:53:42 -05:00
Jay Berkenbilt
127a957aee Allow runtime inspection/override of crypto provider 2019-11-09 09:53:42 -05:00
Jay Berkenbilt
fb4c6c1503 Increase coverage for RC4 testing 2019-11-09 09:53:42 -05:00
Jay Berkenbilt
6d1d244615 Explicitly use only native crypto for oss-fuzz
I don't need qpdf's fuzz to find leaks and invalid memory in gnutls.
2019-11-09 09:53:42 -05:00
Jay Berkenbilt
88bedb41fe Implement gnutls crypto provider (fixes #218)
Thanks to Zdenek Dohnal <zdohnal@redhat.com> for contributing the code
used for the gnutls crypto provider.
2019-11-09 09:53:38 -05:00
Jay Berkenbilt
cc14523440 Update autoconf to support crypto selection 2019-11-09 08:18:02 -05:00
Jay Berkenbilt
d0a53cd3ea Fix typos in configure.ac 2019-11-09 08:18:02 -05:00
Jay Berkenbilt
c03ced09c0 Isolate source files used for native crypto 2019-11-09 08:18:02 -05:00
Jay Berkenbilt
d1ffe46c04 AES_PDF: move CBC logic from pipeline to AES_PDF implementation 2019-11-09 08:18:02 -05:00
Jay Berkenbilt
c8cda4f965 AES_PDF: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
Jay Berkenbilt
bb427bd117 SHA2: switch to pluggable crypto 2019-11-09 08:18:02 -05:00