You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/10/09 03:41:00 UTC

[jira] [Assigned] (KARAF-4880) Can't use Client from a script when passwords are encrypted

     [ https://issues.apache.org/jira/browse/KARAF-4880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-4880:
-------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)

> Can't use Client from a script when passwords are encrypted
> -----------------------------------------------------------
>
>                 Key: KARAF-4880
>                 URL: https://issues.apache.org/jira/browse/KARAF-4880
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.7
>            Reporter: Paul McCulloch
>            Priority: Major
>
> Without the old -p option there is no straightforward way to use the client to connect to a karaf using encrypted password authentication.
> With clear text passwords client reads the passwords from users.properties.
> My use case is an (izpack) installer which uses the client to add features & apply configurations. The installer prompts the user for admin account details & should pass these to the client. 
> Using SSH keys is problematic I believe. I would need the user (or the installer) to keep a copy of the key generated on initial installation for use in subsequent upgrades.
> My installer is cross platform, so relying on open SSH etc. as a workaround is problematic.
> The -p option was removed from client as part of KARAF-1475 (https://github.com/apache/karaf/commit/d6838dd5a12a13b99c534981273abdbbee5b7f22)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)