Comments (4)
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.
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.
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.
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)
- add a option to verify signed messages
- Signature of sent messages is invalid HOT 1
- Add support for fingerprint decryption.
- Delete HOT 1
- Decryption filed HOT 1
- Проблема HOT 3
- Please fix HOT 2
- Decrypted message sheet UI bug HOT 1
- Recover deleted key HOT 1
- Incorrect spelling in settings HOT 4
- Create CI/CD Pipeline HOT 7
- Shortcuts Support HOT 2
- iPad Layout
- Authentication cancelled on app switching HOT 2
- IT localisation
- Failed to decode mime content
- Auto derive public key from private key?
- Decryption option to read from QR code HOT 1
- Унок
- И
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgpro.