Conversation
Collaborator
Member
Author
|
Thanks for your input, but from my tests it doesn’t generate the same encryption tool (did I do it right?). For references, encryption seems to have been added from this commit, but I’m not enough familiar with this to know what to do next |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Creating this pr for the record.
I’ve managed to make mails work nearly out of the box (#75).
The issue is that line
sqlite3 $install_dir/app.db "UPDATE settings SET mail_password='$mail_pwd'"is not correct. It is rather the columnmail_password_ethat is used, but it is… encrypted. If I manually check themail_pwdin/etc/yunohost/apps/calibreweb/settings.ymland set it through Calibreweb interface, mail works. But I think it’s to much hassle to try to encrypt ourselves with the same encryption tool as CW for this to work out of the box 😅Solution
Leave things like now
Or don’t fill the
mail_password_ecolumn (mail_password can in any case be ditched), but mention in the ADMIN.md that the mail password is__MAIL_PWD__(but I don’t know how secure it is to do so?)PR Status
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)