You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Stefan (JIRA)" <ji...@apache.org> on 2012/08/08 18:24:20 UTC

[jira] [Created] (WSS-399) WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C

Stefan created WSS-399:
--------------------------

             Summary: WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C
                 Key: WSS-399
                 URL: https://issues.apache.org/jira/browse/WSS-399
             Project: WSS4J
          Issue Type: Bug
          Components: WSS4J Core
    Affects Versions: 1.6.7
         Environment: any
            Reporter: Stefan
            Assignee: Colm O hEigeartaigh


As stated on http://www.w3.org/TR/xmlenc-core/#sec-RSA-OAEP (and http://java.net/projects/metro/lists/users/archive/2008-05/message/12) there should be the possibility to set the message digest that is listed as MANDATORY (and shall be set in the generated output).

QUOTE:
5.4.2 RSA-OAEP

Identifier:
    http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p (REQUIRED)

The RSAES-OAEP-ENCRYPT algorithm, as specified in RFC 2437 [PKCS1], takes three parameters. The two user specified parameters are a MANDATORY message digest function and an OPTIONAL encoding octet string OAEPparams. The message digest function is indicated by the Algorithm attribute of a child ds:DigestMethod element and the mask generation function, the third parameter, is always MGF1 with SHA1 (mgf1SHA1Identifier). Both the message digest and mask generation functions are used in the EME-OAEP-ENCODE operation as part of RSAES-OAEP-ENCRYPT. The encoding octet string is the base64 decoding of the content of an optional OAEPparams child element . If no OAEPparams child is provided, a null string is used.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (WSS-399) WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved WSS-399.
-------------------------------------

    Resolution: Fixed
    
> WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C
> ------------------------------------------------------------------------------
>
>                 Key: WSS-399
>                 URL: https://issues.apache.org/jira/browse/WSS-399
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 1.6.7
>         Environment: any
>            Reporter: Stefan
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.6.8
>
>
> As stated on http://www.w3.org/TR/xmlenc-core/#sec-RSA-OAEP (and http://java.net/projects/metro/lists/users/archive/2008-05/message/12) there should be the possibility to set the message digest that is listed as MANDATORY (and shall be set in the generated output).
> QUOTE:
> 5.4.2 RSA-OAEP
> Identifier:
>     http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p (REQUIRED)
> The RSAES-OAEP-ENCRYPT algorithm, as specified in RFC 2437 [PKCS1], takes three parameters. The two user specified parameters are a MANDATORY message digest function and an OPTIONAL encoding octet string OAEPparams. The message digest function is indicated by the Algorithm attribute of a child ds:DigestMethod element and the mask generation function, the third parameter, is always MGF1 with SHA1 (mgf1SHA1Identifier). Both the message digest and mask generation functions are used in the EME-OAEP-ENCODE operation as part of RSAES-OAEP-ENCRYPT. The encoding octet string is the base64 decoding of the content of an optional OAEPparams child element . If no OAEPparams child is provided, a null string is used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (WSS-399) WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433033#comment-13433033 ] 

Colm O hEigeartaigh commented on WSS-399:
-----------------------------------------


In WSS4J 1.6.8 you will be able to configure a digest algorithm to use with RSA OAEP either programmatically via WSSecEncrypt or else via the "encryptionDigestAlgorithm" configuration tag.

Colm.
                
> WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C
> ------------------------------------------------------------------------------
>
>                 Key: WSS-399
>                 URL: https://issues.apache.org/jira/browse/WSS-399
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 1.6.7
>         Environment: any
>            Reporter: Stefan
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.6.8
>
>
> As stated on http://www.w3.org/TR/xmlenc-core/#sec-RSA-OAEP (and http://java.net/projects/metro/lists/users/archive/2008-05/message/12) there should be the possibility to set the message digest that is listed as MANDATORY (and shall be set in the generated output).
> QUOTE:
> 5.4.2 RSA-OAEP
> Identifier:
>     http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p (REQUIRED)
> The RSAES-OAEP-ENCRYPT algorithm, as specified in RFC 2437 [PKCS1], takes three parameters. The two user specified parameters are a MANDATORY message digest function and an OPTIONAL encoding octet string OAEPparams. The message digest function is indicated by the Algorithm attribute of a child ds:DigestMethod element and the mask generation function, the third parameter, is always MGF1 with SHA1 (mgf1SHA1Identifier). Both the message digest and mask generation functions are used in the EME-OAEP-ENCODE operation as part of RSAES-OAEP-ENCRYPT. The encoding octet string is the base64 decoding of the content of an optional OAEPparams child element . If no OAEPparams child is provided, a null string is used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Closed] (WSS-399) WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed WSS-399.
-----------------------------------

    
> WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C
> ------------------------------------------------------------------------------
>
>                 Key: WSS-399
>                 URL: https://issues.apache.org/jira/browse/WSS-399
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 1.6.7
>         Environment: any
>            Reporter: Stefan
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.6.8
>
>
> As stated on http://www.w3.org/TR/xmlenc-core/#sec-RSA-OAEP (and http://java.net/projects/metro/lists/users/archive/2008-05/message/12) there should be the possibility to set the message digest that is listed as MANDATORY (and shall be set in the generated output).
> QUOTE:
> 5.4.2 RSA-OAEP
> Identifier:
>     http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p (REQUIRED)
> The RSAES-OAEP-ENCRYPT algorithm, as specified in RFC 2437 [PKCS1], takes three parameters. The two user specified parameters are a MANDATORY message digest function and an OPTIONAL encoding octet string OAEPparams. The message digest function is indicated by the Algorithm attribute of a child ds:DigestMethod element and the mask generation function, the third parameter, is always MGF1 with SHA1 (mgf1SHA1Identifier). Both the message digest and mask generation functions are used in the EME-OAEP-ENCODE operation as part of RSAES-OAEP-ENCRYPT. The encoding octet string is the base64 decoding of the content of an optional OAEPparams child element . If no OAEPparams child is provided, a null string is used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


[jira] [Updated] (WSS-399) WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated WSS-399:
------------------------------------

    Fix Version/s: 1.6.8
    
> WSS4J: cannot set DigestMethod for KEYTRANSPORT_RSAOEP though requested by W3C
> ------------------------------------------------------------------------------
>
>                 Key: WSS-399
>                 URL: https://issues.apache.org/jira/browse/WSS-399
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 1.6.7
>         Environment: any
>            Reporter: Stefan
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.6.8
>
>
> As stated on http://www.w3.org/TR/xmlenc-core/#sec-RSA-OAEP (and http://java.net/projects/metro/lists/users/archive/2008-05/message/12) there should be the possibility to set the message digest that is listed as MANDATORY (and shall be set in the generated output).
> QUOTE:
> 5.4.2 RSA-OAEP
> Identifier:
>     http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p (REQUIRED)
> The RSAES-OAEP-ENCRYPT algorithm, as specified in RFC 2437 [PKCS1], takes three parameters. The two user specified parameters are a MANDATORY message digest function and an OPTIONAL encoding octet string OAEPparams. The message digest function is indicated by the Algorithm attribute of a child ds:DigestMethod element and the mask generation function, the third parameter, is always MGF1 with SHA1 (mgf1SHA1Identifier). Both the message digest and mask generation functions are used in the EME-OAEP-ENCODE operation as part of RSAES-OAEP-ENCRYPT. The encoding octet string is the base64 decoding of the content of an optional OAEPparams child element . If no OAEPparams child is provided, a null string is used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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