You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/05/31 16:33:00 UTC

[jira] [Commented] (SM-3504) Password Encryption not working

    [ https://issues.apache.org/jira/browse/SM-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16496822#comment-16496822 ] 

Jean-Baptiste Onofré commented on SM-3504:
------------------------------------------

Did you try to login a first time (with ssh for instance) ? The Karaf version used in SMX 5.6.x (pretty old) doesn't use the thread to automatically encrypt password. So it means you have to process the {{users.properties}} using SSH or JMX to encrypt passwords.

This is no more the case with new Karaf version.

> Password Encryption not working
> -------------------------------
>
>                 Key: SM-3504
>                 URL: https://issues.apache.org/jira/browse/SM-3504
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: features
>    Affects Versions: 5.6.0
>            Reporter: pargya
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> Hi Team,
> I am unable to encrypt passwords in servicemix.
> Below is my org.apache.karaf.jaas.cfg file.
> Please suggest do I need to change any other configuration or how does it encrypts password in users.properties
> #
> # Boolean enabling / disabling encrypted passwords
> #
> encryption.enabled = true
> #
> # Encryption Service name
> #   the default one is 'basic'
> #   a more powerful one named 'jasypt' is available
> #       when installing the encryption feature
> #
> encryption.name = basic
> #
> # Encryption prefix
> #
> encryption.prefix = PRE
> #
> # Encryption suffix
> #
> encryption.suffix = SUFFIX
> #
> # Set the encryption algorithm to use in Karaf JAAS login module
> # Supported encryption algorithms follow:
> #   MD2
> #   MD5
> #   SHA-1
> #   SHA-256
> #   SHA-384
> #   SHA-512
> #
> encryption.algorithm = SHA-1
> #
> # Encoding of the encrypted password.
> # Can be:
> #   hexadecimal
> #   base64
> #
> encryption.encoding = hexadecimal



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)