Issue 6657

Title
TRYTONDPASSFILE is not correctly read when it does not end with new line
Priority
bug
Status
resolved
Nosy list
pokoli, reviewbot, roundup-bot
Assigned to
pokoli
Keywords
review

Created on 2017-07-20.14:35:15 by pokoli, last changed 50 months ago by roundup-bot.

Messages

New changeset 2be5c3b777c1 by Sergi Almacellas Abellana in branch 'default':
Remove line breaks from password file
http://hg.tryton.org/trytond/rev/2be5c3b777c1
Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2017-07-20.14:35:15
When the password file does not end with an empty line, the last carachter of the password is removed. 

If we execute:

echo -n 'password' > /etc/trytond-pass/default
TRYTONDPASSFILE=/etc/trytond-pass/default trytond-admin -d <dbname> -p

The resulting password will be 'passwor' instead of 'password'
History
Date User Action Args
2017-07-25 09:39:54roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg34752
2017-07-21 12:34:30reviewbotsetmessages: + msg34722
2017-07-21 09:31:51reviewbotsetmessages: + msg34719
2017-07-20 15:03:24reviewbotsetnosy: + reviewbot
messages: + msg34702
2017-07-20 14:41:53pokolisetstatus: in-progress -> testing
reviews: 41461002
keyword: + review
2017-07-20 14:35:15pokolicreate

Showing 10 items. Show all history (warning: this could be VERY long)