You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Enrico Olivelli (JIRA)" <ji...@apache.org> on 2015/08/28 10:00:51 UTC

[jira] [Commented] (JDKIM-36) DKIMVerifier returns only valid signatures if a message is signed multiple times and some dignature does not pass

    [ https://issues.apache.org/jira/browse/JDKIM-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14718176#comment-14718176 ] 

Enrico Olivelli commented on JDKIM-36:
--------------------------------------

{code}
 // There is no access to the signatureExceptions when
            // there is at least one valid signature (JDKIM-14)
            /*
            for (Iterator i = signatureExceptions.keySet().iterator(); i
                    .hasNext();) {
                String f = (String) i.next();
                System.out.println("DKIM-Error:"
                        + ((FailException) signatureExceptions.get(f))
                                .getMessage() + " FIELD: " + f);
            }
            */
            /*
            for (Iterator i = verifiedSignatures.iterator(); i.hasNext();) {
                SignatureRecord sr = (SignatureRecord) i.next();
                System.out.println("DKIM-Pass:" + sr);
            }
            */
{code}

> DKIMVerifier returns only valid signatures if a message is signed multiple times and some dignature does not pass
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JDKIM-36
>                 URL: https://issues.apache.org/jira/browse/JDKIM-36
>             Project: James jDKIM
>          Issue Type: Bug
>    Affects Versions: 0.2
>            Reporter: Enrico Olivelli
>            Priority: Blocker
>
> If a message contains a DKIM-Signature header which passes and one which does not pass the verify method will return no error and return the list of valid signatures.
> Please provide an alternative method which gives the full result of the validation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org