qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5927) Broker does not support whitespace in passwords in SSL password file
Date Mon, 10 Nov 2014 11:48:35 GMT

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

ASF subversion and git services commented on QPID-5927:
-------------------------------------------------------

Commit 1637820 from [~gsim] in branch 'qpid/trunk'
[ https://svn.apache.org/r1637820 ]

QPID-5927: allow for whitespace in password

> Broker does not support whitespace in passwords in SSL password file
> --------------------------------------------------------------------
>
>                 Key: QPID-5927
>                 URL: https://issues.apache.org/jira/browse/QPID-5927
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.28, 0.30
>            Reporter: Chris Richardson
>            Assignee: Gordon Sim
>
> qpid/sys/ssl/util.cpp reads passwords from the password file with
> ...
>     std::string password;
>     file >> password;
> ...
> The stream operator stops reading at the first whitespace character so a password of
eg: "this is a password"  (considered valid by certutil) will not be properly parsed by the
broker.
> Possibly use std::getline(file, password); or a stream manipulator instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message