Git Product home page Git Product logo

Comments (4)

lucanaef avatar lucanaef commented on May 26, 2024

Thanks reporting this!
Importing the secret key in private.gpg-key.txt triggers an assertion failure in the cryptography framework:

2020-07-20 19:58:40.439760+0200 PGPro[35698:1882528] *** Assertion failure in -[PGPSecretKeyPacket buildSecretKeyDataAndForceV4:], /Users/marcinkrzyzanowski/Devel/ObjectivePGP/ObjectivePGP/Packets/PGPSecretKeyPacket.m:354
2020-07-20 19:58:40.458873+0200 PGPro[35698:1882528] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Require IV'

It seems that ObjectivePGP doesn't find an initialization vector in the key packet. I'll try and look further into this.

from pgpro.

craisp avatar craisp commented on May 26, 2024

Thanks for replying so quickly!
Ok, this seems to me, that it is rather a problem with the ObjectivePGP library than in the app? Would it be better to open an issue there?
By the way: if you need the passphrase for the secret key posted above, it's: "very secure passphrase!" (without the quotes but with whitespace and exclamation mark).

from pgpro.

SailingDad avatar SailingDad commented on May 26, 2024

Hello Luca,
Many thanks for your app. I realize that the bug report I mailed to you on April 21st was probably about the same problem.
Best regards
Pascal

Details :

  • The app crashes each time I try to import my personal keys (exported into an .asc file through gpg keychain (MacOS Catalina).
  • The asc file is copied to the iPhone through a usb cable using MacOS finder.
  • My keys includes : one main pair of keys, three subkeys for signing, encrypting, authenticating, all using RSA 4096.
  • The crash only occurs when the main secret key is not present in the .asc file.
  • When both the secret key and subkeys are present, all is fine.
  • iPhone X, iOS 14.4.2

from pgpro.

lucanaef avatar lucanaef commented on May 26, 2024

Thank you @craisp and @SailingDad! Good news: I've now finally been able to fix this issue. Bad news: Keys with subkeys only are still not supported (because the cryptography framework can't handle them), but at least the app won't crash anymore.

from pgpro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.