java.io.EOFException: truncated subpacket data.

GitHub | kerlerm | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.io.EOFException

    truncated subpacket data.

    at org.bouncycastle.bcpg.SignatureSubpacketInputStream.readPacket()
  2. Bouncy Castle OpenPGP API
    PGPObjectFactory.nextObject
    1. org.bouncycastle.bcpg.SignatureSubpacketInputStream.readPacket(SignatureSubpacketInputStream.java:116)
    2. org.bouncycastle.bcpg.SignaturePacket.<init>(SignaturePacket.java:76)
    3. org.bouncycastle.bcpg.BCPGInputStream.readPacket(BCPGInputStream.java:230)
    4. org.bouncycastle.openpgp.PGPKeyRing.readSignaturesAndTrust(PGPKeyRing.java:53)
    5. org.bouncycastle.openpgp.PGPKeyRing.readUserIDs(PGPKeyRing.java:91)
    6. org.bouncycastle.openpgp.PGPPublicKeyRing.<init>(PGPPublicKeyRing.java:76)
    7. org.bouncycastle.openpgp.PGPObjectFactory.nextObject(PGPObjectFactory.java:114)
    7 frames
  3. org.sufficientlysecure.keychain
    ImportOperation$1.call
    1. org.sufficientlysecure.keychain.pgp.UncachedKeyRing$2.cacheNext(UncachedKeyRing.java:191)
    2. org.sufficientlysecure.keychain.pgp.UncachedKeyRing$2.hasNext(UncachedKeyRing.java:212)
    3. org.sufficientlysecure.keychain.pgp.UncachedKeyRing.decodeFromData(UncachedKeyRing.java:155)
    4. org.sufficientlysecure.keychain.operations.ImportOperation.serialKeyRingImport(ImportOperation.java:209)
    5. org.sufficientlysecure.keychain.operations.ImportOperation.access$000(ImportOperation.java:84)
    6. org.sufficientlysecure.keychain.operations.ImportOperation$1.call(ImportOperation.java:490)
    7. org.sufficientlysecure.keychain.operations.ImportOperation$1.call(ImportOperation.java:478)
    7 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    6. java.lang.Thread.run(Thread.java:818)
    6 frames