Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emailed cron output incorrectly linkified in GMail #7144

Closed
jsha opened this issue Jun 11, 2019 · 2 comments
Closed

Emailed cron output incorrectly linkified in GMail #7144

jsha opened this issue Jun 11, 2019 · 2 comments

Comments

@jsha
Copy link
Contributor

jsha commented Jun 11, 2019

My operating system is (include version):

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"

I installed Certbot with (certbot-auto, OS package manager, pip, etc):

certbot-auto

I ran this command and it produced this output:

(in root's crontab)
/home/jsha/certbot-auto -q renew

Certbot's behavior differed from what I expected because:

Output was:

/home/jsha/certbot-auto has insecure permissions!
To learn how to fix them, visit https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979/
/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26: CryptographyDeprecationWarning: Support for your Python version is deprecated. The next version of cryptography will remove support. Please upgrade to a 2.7.x release that supports hmac.compare_digest as soon as possible.
  utils.PersistentlyDeprecated2018,

GMail linkifies that first URL by combining it with the file path on the next line, to produce https://community.letsencrypt.org/t/certbot-auto-deployment-best-practices/91979//opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py:26 (which is a 404). I think we can fix this by ensuring there's an extra newline after any message we echo with a URL. Possibly an extra space at the end of the line would also work, or phrasing the message so the URL is in the middle of the line.

@stale
Copy link

stale bot commented Jun 27, 2020

We've made a lot of changes to Certbot since this issue was opened. If you still have this issue with an up-to-date version of Certbot, can you please add a comment letting us know? This helps us to better see what issues are still affecting our users. If there is no activity in the next 30 days, this issue will be automatically closed.

@stale stale bot added the needs-update label Jun 27, 2020
@jsha
Copy link
Contributor Author

jsha commented Jun 29, 2020

Since we're phasing out certbot-auto, I think this can be closed.

@jsha jsha closed this as completed Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants