Paul Schaub

Results 121 issues of Paul Schaub

If an unsupported version of the LibrePGP `AEADEncDataPacket` is encountered, the code currently throws an `IllegalArgumentException`. This PR changes this behavior to throw an `UnsupportedPacketVersionException` instead.

With legacy ed25519 we need to detect the curve (curve25519 / curve448) based on the length of the encoding (see https://github.com/bcgit/bc-java/pull/1675, most notably https://github.com/bcgit/bc-java/pull/1675/commits/105dbef01d688a963f98ba2815f1343774c42fae). However, I noticed, that some ed25519...

This PR adds support for OpenPGP (v6) keys with unknown public key algorithms. The v6 test key ``` -----BEGIN PGP PUBLIC KEY BLOCK----- xhQGZl7182MAAAAKAAECAwQFBgcICQ== =anvn -----END PGP PUBLIC KEY BLOCK-----...

The file had the `- run:` statement, which spanned across multiple lines, not completely commented out, resulting in syntax errors, which trigger emails being sent with each pushed commit.

Since PGPainless 2.0 will be written in Kotlin, it requires a somewhat up-to-date version of gradle. As PGPainless is included in Debian, and they ship an ancient gradle version, they...

help wanted
module: core
packaging

This PR changes the `PGPv6KeyTest` to more extensively cover parsing of different fields, like key-id, creation time, s2k etc. Testing also showed, that `getBitStrength()` returned `0` for (dedicated X25519), X448,...

Time, as well as offsets (e.g. expiration) in OpenPGP are stored as seconds in unsigned Integers. I noticed, that https://github.com/bcgit/bc-java/commit/8385a2ca13573435a64d6bd96769c97e2e9edee8 broke some tests in PGPainless that dealt with large expiration...

While playing with some tooling I built on top of BC/PGPainless, I noticed crashes when processing my whole GPG key ring (350+ keys). Apparently the comparison code in `PGPSignature.join()` /...

Hey! In this PR, I'm working on a high-level API for OpenPGP key generation (v6 only for now). Let me know, what you think of the design sketched out in...

The OpenPGP specification mandates that if partial body encoding is used, the first chunk must be at least 512 bytes long. Currently, BC does not enforce this requirement (see https://tests.sequoia-pgp.org/#Tests_support_for_partial_body_encoding...