You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2020. It is now read-only.
Enable encryption of karaf users passwords according to documentation. Karaf already have a method implemented. Today all user passwords are stored in clear text in etc/users.properties file.
Problem:
Eclipse smarthome does currently NOT include a package for SHA256 calculations.
Errorlog:
2016-12-23 19:45:51.671 [ERROR] [s.modules.encryption.BasicEncryption] - Initialization failed. Digest algorithm SHA256 is not available.
java.security.NoSuchAlgorithmException: SHA256 MessageDigest not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:159)[:1.8.0_111]
at java.security.Security.getImpl(Security.java:695)[:1.8.0_111]
at java.security.MessageDigest.getInstance(MessageDigest.java:167)[:1.8.0_111]
at org.apache.karaf.jaas.modules.encryption.BasicEncryption.<init>(BasicEncryption.java:51)
at org.apache.karaf.jaas.modules.encryption.BasicEncryptionService.createEncryption(BasicEncryptionService.java:25)
...
Solution:
Add package to solve above problem and verify the solution according to above documentation.
The text was updated successfully, but these errors were encountered:
Eclipse smarthome does currently NOT include a package for SHA256 calculations.
I don't assume to ask that this should be implemented in ESH? I would think there are such bundles available for Karaf / JAAS already, right?
So I would think this issue is a matter of the solution that uses Karaf to package what is needed and no change is required in ESH itself. Feel free to reopen, if I miss anything.
I think I was unclear. I wonder if the build of ESH could include correct karaf / JAAS package in the base release to enable this feature. Or is it easy to add them later on using karaf directly?
Excuse for my lack of knowledge how this frameworks package manage work.
Goal:
Enable encryption of karaf users passwords according to documentation. Karaf already have a method implemented. Today all user passwords are stored in clear text in
etc/users.properties
file.Problem:
Eclipse smarthome does currently NOT include a package for SHA256 calculations.
Errorlog:
Solution:
Add package to solve above problem and verify the solution according to above documentation.
The text was updated successfully, but these errors were encountered: