Skip to content

Crash in readPrivateKeys when the input contains both public and private keys #42

@tallinn1960

Description

@tallinn1960

Is it correct that the current version of openpgp, 3.4.0, does not support DSA/ElGamal keys, but RSA keys only?

As openpgp is crashing within the go code in

  • thread Recommendation: Create SOP implementation #43, name = 'DartWorker', stop reason = EXC_BAD_ACCESS (code=1, address=0xe0)
    frame #0: 0x00000001049e50cc Runnergithub.com/jerson/openpgp-mobile/openpgp.(*FastOpenPGP).readPrivateKeys + 124 Runnergithub.com/jerson/openpgp-mobile/openpgp.(*FastOpenPGP).readPrivateKeys:
    -> 0x1049e50cc <+124>: ldrb w6, [x6, #0xe0]
    0x1049e50d0 <+128>: cbz x6, 0x1049e50b8 ; <+104>
    0x1049e50d4 <+132>: str x3, [sp, #0x60]
    0x1049e50d8 <+136>: str x5, [sp, #0x78]

(this is on iOS)

when asked to decypt a cryptotext with a DSA/Elgamal key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions