Month: June 2018

  • Summer of Code: An (almost) three line fix to a three days problem

    diff –git a/src/main/java/de/vanitasvitae/crypto/pgpainless/decryption_verification/DecryptionStreamFactory.java b/src/main/java/de/vanitasvitae/crypto/pgpainless/decryption_verification/DecryptionStreamFactory.java index d651b1b..bca7ba4 100644 — a/src/main/java/de/vanitasvitae/crypto/pgpainless/decryption_verification/DecryptionStreamFactory.java +++ b/src/main/java/de/vanitasvitae/crypto/pgpainless/decryption_verification/DecryptionStreamFactory.java @@ -157,15 +157,13 @@ public class DecryptionStreamFactory {          PGPPrivateKey decryptionKey = null;          PGPPublicKeyEncryptedData encryptedSessionKey = null;          while (iterator.hasNext()) { –            encryptedSessionKey = (PGPPublicKeyEncryptedData) iterator.next(); –            long keyId = encryptedSessionKey.getKeyID(); +            PGPPublicKeyEncryptedData encryptedData = (PGPPublicKeyEncryptedData) iterator.next(); +            long keyId = encryptedData.getKeyID();  …

  • Summer of Code: The demotivating week

    I guess in anybodies project, there is one week that stands out from the others by being way less productive than the rest. I just had that week. I had to take one day off on Friday due to circulation problems after a visit at the doctor (syringes suck!), so I had the joy of…

  • Summer of Code: Evaluation and Key Lengths

    The week of the first evaluation phase is here. This is the fourth week of GSoC – wow, time flew by quite fast this year 🙂 This week I plan to switch my OX implementation over to PGPainless in order to have a working prototype which can differentiate between sign, crypt and signcrypt elements. This…

  • Summer of Code: PGPainless 2.0

    In previous posts, I mentioned that I forked Bouncy-GPG to create PGPainless, which will be my simple to use OX/OpenPGP API. I have some news regarding that, since I made a radical decision. I’m not going to fork Bouncy-GPG anymore, but instead write my own OpenPGP library based on BouncyCastle. The new PGPainless will be…

  • Summer of Code: Command Line OX Client!

    As I stated earlier, I am working on a small XMPP command line test client, which is capable of sending and receiving OpenPGP encrypted messages. I just published a first version 🙂 Creating command line clients with Smack is super easy. You basically just create a connection, instantiate the manager classes of features you want…