[AAA-119] Bad padding in encrypted data Created: 23/Mar/17 Updated: 21/Mar/19 Resolved: 05/May/17 |
|
| Status: | Verified |
| Project: | aaa |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Mohamed ElSerngawy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 8062 | ||||||||
| Description |
|
We are observing the following error being reported: 2017-03-21 14:11:33,701 | ERROR | rint Extender: 1 | AAAEncryptionServiceImpl | 254 - org.opendaylight.aaa.encrypt-service - 0.5.0.SNAPSHOT | Failed to decrypt encoded data This looks to be a problem with how we encrypt the data. Otherwise, if this is something that is expected, the severity should be lowered accordingly. |
| Comments |
| Comment by Tomas Cere [ 31/Mar/17 ] |
|
seems like we encouter this in netconf jobs resulting in 401 restconf responses on certain requests |
| Comment by Vratko Polak [ 12/Apr/17 ] |
|
Possible duplicates, may contain more details on how to reproduce: Especially this [0] comments contains some technical explanations. |
| Comment by Viera Zelcamova [ 18/Apr/17 ] |
|
Hi Ryan, |
| Comment by Ryan Goulding [ 18/Apr/17 ] |
|
Candidate Patch in Progress: https://git.opendaylight.org/gerrit/#/c/55126/ For a timeline, hopefully by tomorrow at latest. If this candidate patch doesn't pan out, there is an easier fix we have considered which can alleviate this bug from happening, but it is the less preferred approach. |
| Comment by Ryan Goulding [ 18/Apr/17 ] |
|
Candidate Patch in Progress: https://git.opendaylight.org/gerrit/#/c/55126/ For a timeline, hopefully by tomorrow at latest. If this candidate patch doesn't pan out, there is an easier fix we have considered which can alleviate this bug from happening, but it is the less preferred approach. |
| Comment by Mohamed ElSerngawy [ 18/Apr/17 ] |
|
the patch at https://git.opendaylight.org/gerrit/#/c/55126/ fixing the issue. encryption service initial config are now written to the datastore. all the cluster nodes have the same initial config data. |
| Comment by Vratko Polak [ 21/Apr/17 ] |
|
The Carbon fix [1] is not passing its verify job, so it is still not merged. |
| Comment by Ryan Goulding [ 21/Apr/17 ] |
|
Blocked by unrelated bug about to be merged: 8261 Should be good after that! |
| Comment by Viera Zelcamova [ 24/Apr/17 ] |
|
Hi Ryan, any update on this? |
| Comment by Ryan Goulding [ 27/Apr/17 ] |
|
This was hardcoded through 8313: https://git.opendaylight.org/gerrit/#/c/56094/ Shouldn't be an issue for Carbon. Will revisit as an enhancement in 8315 in Nitrogen. Closing for now. |
| Comment by Vratko Polak [ 05/May/17 ] |
|
VERIFIED, the error no longer appears in karaf.log |