You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2008/04/15 16:21:04 UTC
[jira] Created: (WSS-111) Some work on UsernameToken derived keys
Some work on UsernameToken derived keys
---------------------------------------
Key: WSS-111
URL: https://issues.apache.org/jira/browse/WSS-111
Project: WSS4J
Issue Type: Bug
Reporter: Colm O hEigeartaigh
Assignee: Ruchith Udayanga Fernando
Priority: Minor
The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
The attached patch contains the following improvements:
1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Commented: (WSS-111) Some work on UsernameToken derived keys
Posted by "Sérgio Patrício (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602309#action_12602309 ]
Sérgio Patrício commented on WSS-111:
-------------------------------------
I used the test case TestWSSecurityUTDK.java to try this, the code worked OK and the generated soap seems good.
The validation don't worked, received the error:
org.apache.ws.security.WSSecurityException: The signature or decryption was invalid (Unsupported key identification)
at org.apache.ws.security.processor.DerivedKeyTokenProcessor.extractSecret(DerivedKeyTokenProcessor.java:156)
at org.apache.ws.security.processor.DerivedKeyTokenProcessor.handleToken(DerivedKeyTokenProcessor.java:67)
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Fred Dushin
> Priority: Minor
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Resolved: (WSS-111) Some work on UsernameToken derived keys
Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved WSS-111.
-------------------------------------
Resolution: Fixed
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: 1.5.5
>
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Updated: (WSS-111) Some work on UsernameToken derived keys
Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh updated WSS-111:
------------------------------------
Fix Version/s: 1.5.5
I should be able to squeeze this in for 1.5.5
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Fred Dushin
> Priority: Minor
> Fix For: 1.5.5
>
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Assigned: (WSS-111) Some work on UsernameToken derived keys
Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh reassigned WSS-111:
---------------------------------------
Assignee: Colm O hEigeartaigh (was: Fred Dushin)
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: 1.5.5
>
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Updated: (WSS-111) Some work on UsernameToken derived keys
Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh updated WSS-111:
------------------------------------
Attachment: wss4j_derived_keys.patch
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Ruchith Udayanga Fernando
> Priority: Minor
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Closed: (WSS-111) Some work on UsernameToken derived keys
Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh closed WSS-111.
-----------------------------------
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: 1.5.5
>
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Assigned: (WSS-111) Some work on UsernameToken derived keys
Posted by "Fred Dushin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Dushin reassigned WSS-111:
-------------------------------
Assignee: Fred Dushin (was: Ruchith Udayanga Fernando)
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Fred Dushin
> Priority: Minor
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[jira] Commented: (WSS-111) Some work on UsernameToken derived keys
Posted by "Fred Dushin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590144#action_12590144 ]
Fred Dushin commented on WSS-111:
---------------------------------
Committed Colm's patch.
Note that I also forced conversion of the pre-SHA1 hashed password to UTF-8.
Could we get a review on this patch, before closure?
Thanks!
> Some work on UsernameToken derived keys
> ---------------------------------------
>
> Key: WSS-111
> URL: https://issues.apache.org/jira/browse/WSS-111
> Project: WSS4J
> Issue Type: Bug
> Reporter: Colm O hEigeartaigh
> Assignee: Fred Dushin
> Priority: Minor
> Attachments: wss4j_derived_keys.patch
>
>
> The UsernameToken profile 1.1 provides for using UsernameTokens for key derivation (section 4: Key Derivation). We currently have some limited support in UsernameToken.java for generating and parsing UsernameTokens with derived keys, but no tests.
> The attached patch contains the following improvements:
> 1) Two bugs in processing a Username Token in UsernameToken.java with a derived key are fixed + some cleanup to the code.
> 2) WSSecUsernameToken.java is extended to wrap the key derivation functionality of UsernameToken.java.
> 3) A unit test is added for UsernameToken.java, as well as two tests which use a derived key from a username token for encryption and signing purposes.
> The processing of a UsernameToken with derived keys is left for a future release.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org