Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#10 fix to mc-verify-signature

open
nobody
None
5
2004-12-30
2004-12-30
nega
No

mc-verify-signature has a comment:

; We can't find a message signed in the default
scheme.
; Step through all the schemes we know, trying to
identify
; the applicable one by examining headers.

I think this is a wrong approach. If the "header"
doesnt exist in the current scheme, then we move to a
scheme we don't have loaded. For instance, if I do
(mc-setversion "gpg") and then C-c / v, mailcrypt craps
out with "Symbol's value as variable is void:
mc-pgp50-fetch-key". PGP50?? I'm trying to use GPG!!
Additionally I get this same error when I try to verify
a signature on an email that is not signed! So, while
we're trying to loop through schemes, we're not doing
it correctly.

I think we shouldn't be trying to second guess the
user. If we dont know know the user is trying to
acomplish, then we should throw and error and say we're
confused.

Attached is a patch against the current CVS (12/29/04)
that removes the loop across the schemes in mc-toplevel.el

Discussion

  • nega
    nega
    2004-12-30

    Logged In: YES
    user_id=346358

    the same problem exists in the decryption function

     
  • nega
    nega
    2004-12-30

    fixes mc-verify and mc-decrypt