-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
DietPi-Banner | add letsencrypt certificate details #6314
Conversation
Many thanks. I finally got over the line ;-) But I have learnt some useful GitHub tips and techniques. Many thanks for your patience!!! |
Addition to check if a letsencrypt certificate exists and if so, print the certificate expiration details. This can act as a simple check to see if letsencrypt certificates are updating over time.
Happy with that. Co-authored-by: MichaIng <[email protected]>
DietPi-Banner | add letsencrypt certificate details, do not enable function by default Co-authored-by: MichaIng <[email protected]>
DietPi-Banner | add letsencrypt certificate details, change menu name Co-authored-by: MichaIng <[email protected]>
Looks good to me now. Only thing is that I'm not too happy with the date format:
I'd prefer the common standard international format
But there is no way to change this in
What do you think? |
We talked on our meeting yesterday about the time format and agreed to prefer |
Very happy with that. Apologies for not responding sooner - busy day at work. |
Jep no problem, I apologies for being a little impatient 😄. Want to get the open PRs all merged this weekend (aside of the two older banner related ones, which require significantly more work). |
I always use MMM in the date format to avoid ambiguity between days and months. I've found it necessary in projects I've worked on across Australia, the USA, France, etc. so everyone clearly knows delivery and milestone dates. More than happy with the solution that is being implemented. Thanks again for your support. It's helped me learn a lot. |
I think with the year first it is pretty clear that the next number is the month and last the day. But with year last I agree that one can be nether sure whether the first or the second number is the month, so |
guys, did we ever tested this as non-root user? It seems it's working for root only. https://dietpi.com/forum/t/dietpi-banner-no-certificate-found/16826 |
We didn't 🙈. The certificate, respectively the whole directory is probably readable for the root user only, I guess 🤔. Would make somehow sense as this is quite sensible data. If this expectation is true, there is nothing we can or should do about it. Then it would be easiest to just skip the banner entry for non-root users and print a related info when it is enabled. |
Agree. We can’t go changing access privileges.Sent by iGaryOn 11 May 2023, at 06:24, MichaIng ***@***.***> wrote:
We didn't 🙈. The certificate, respectively the whole directory is probably readable for the root user only, I guess 🤔. Would make somehow sense as this is quite sensible data.
If this expectation is true, there is nothing we can or should do about it. Then it would be easiest to just skip the banner entry for non-root users and print a related info when it is enabled.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: ***@***.***>
|
Since I use |
ping @JappeHallunken as I'm using NPM for proxy and certificates. |
Addition to check if a letsencrypt certificate exists and if so, print the certificate expiration details.
This can act as a simple check to see if letsencrypt certificates are updating over time.