New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix recreate masterkey for hsm #128
Conversation
DescriptionWhen masterkey is enabled with hsm, the recreate mastekey command was failing. The reason for this was Crypt was pointing to wrong class. Meaning instead of IssueTest done
|
There are several things to fix in the class, indirectly related with the work in this PR. I don't know if we can fix them in the PR or not.
I'd need to dig into the code to come up with refactor plan, and I'm not sure how much time it could take. For now, I'd recommend to check the possiblity of using at least one factory class to take care of whatever the command needs to create |
c53bdec
to
3f0254d
Compare
3f0254d
to
84db7bc
Compare
Codecov Report
@@ Coverage Diff @@
## master #128 +/- ##
============================================
+ Coverage 69.79% 70.67% +0.87%
- Complexity 620 627 +7
============================================
Files 34 35 +1
Lines 2291 2312 +21
============================================
+ Hits 1599 1634 +35
+ Misses 692 678 -14
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #128 +/- ##
============================================
+ Coverage 69.79% 70.27% +0.47%
- Complexity 620 627 +7
============================================
Files 34 35 +1
Lines 2291 2311 +20
============================================
+ Hits 1599 1624 +25
+ Misses 692 687 -5
Continue to review full report at Codecov.
|
84db7bc
to
5f6a8ab
Compare
ec1c9c0
to
2bde139
Compare
10162f3
to
9ba6bab
Compare
Fix recreate masterkey for hsm Signed-off-by: Sujith H <sharidasan@owncloud.com>
9ba6bab
to
b41566c
Compare
Backport PR owncloud/core#35380 |
Fix recreate masterkey for hsm
Signed-off-by: Sujith H sharidasan@owncloud.com