
Verify: verifying an encrypted text fails
Reported by Alex (via GPGTools) | March 18th, 2011 @ 01:00 AM | in Q1 2011
Workflow:
1. Highlight text
2. Service > Encrypt (+ Sign)
3. Highlight text
4. Service > Validate
Expected:
1. No signature found, or
2. Valid signature, or
3. Invalid signature
Instead:
Unable to verify due to an internal error
Comments and changes to this ticket
-
ronin-140089 (at lighthouseapp) March 19th, 2011 @ 02:05 AM
- Tag cleared.
This is somewhat complicated.
verifySignedData:inputData originalData:nil
returns an array of signatures or throws an exception. For all encrypted messages without a sig, it returns an empty array. This translates to "we have verificable text but no signatures were found".The documentation doesn't mention the possibility of the method returning an empty array so GPGServices assumes this is an internal error, which is correct in my opinion.
Just deciding "empty array means the encrypted text wasn't signed" is not a good way of handling this. The best way would be to get some more informations into the documentation MacGPGMe.
-
Alex (via GPGTools) March 19th, 2011 @ 09:38 AM
Maybe you could start using the new libgpgme(?) Roman worked on...
-- sent from my mobile phone
-
-
Alex (via GPGTools) March 20th, 2011 @ 07:29 AM
@mento:is it stable/feature complete? it might be a good start using some unit tests for this core lib.
-- sent from my mobile phone
-
-
Alex (via GPGTools) March 23rd, 2011 @ 09:46 PM
- State changed from open to resolved
(from [99e27626ea385bfd05d5627f6a6feb09f013c9bc]) Display no signatures found error when sigs.count == 0 [#25 state:resolved] https://github.com/GPGTools/GPGServices/commit/99e27626ea385bfd05d5...
-
steve June 18th, 2015 @ 04:22 PM
- State changed from resolved to released
- Importance cleared.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
-
25 Verify: verifying an encrypted text fails (from [99e27626ea385bfd05d5627f6a6feb09f013c9bc]) Display...