Notify using ssl/tls

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Wiki
Normal user
Posts: 337
Joined: 23 Apr 2018, 17:55
Location: Germany

Notify using ssl/tls

#1 Post by Wiki » 18 May 2020, 12:31

Is there any plan to use ssl/tls for smtp notifying?

Code: Select all

pi@raspberrypi:~ $ man woman
Kein Handbucheintrag für woman vorhanden
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 5529
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Notify using ssl/tls

#2 Post by TD-er » 18 May 2020, 22:27

For ESP32: Yes
For ESP82xx... Well I have to re-test how many resources (mainly memory) the current encryption layer takes.
We're quite low on free memory and SSL/TLS does take a lot of memory, or at least a little over a year ago it did.
A quick test then showed you needed at least 20k of free memory to use it and that's something we don't have on ESP8266.

Wiki
Normal user
Posts: 337
Joined: 23 Apr 2018, 17:55
Location: Germany

Re: Notify using ssl/tls

#3 Post by Wiki » 21 May 2020, 20:31

Ah, OK. Currently no problem for me at all as long as smtp2go still works.

Any roadmap for ESP32 using encryption?

Code: Select all

pi@raspberrypi:~ $ man woman
Kein Handbucheintrag für woman vorhanden
pi@raspberrypi:~ $

TD-er
Core team member
Posts: 5529
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Notify using ssl/tls

#4 Post by TD-er » 22 May 2020, 12:51

Wiki wrote: 21 May 2020, 20:31 [...]
Any roadmap for ESP32 using encryption?
As you may have noticed, the number of ESP32-specific commits and fixes have increased the last few months, so I'm definitely working on getting the ESP32 on par with the ESP8266 regarding support/features/etc.
I can't put a date on it, but given the pull requests made by others for ESP32 also suggest there is an increased demand for ESP32 support.
So I guess the lack of SSL/TLS support on ESP32 will annoy someone else enough to create a PR for it quite soon :)

User avatar
ThomasB
Normal user
Posts: 894
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Notify using ssl/tls

#5 Post by ThomasB » 20 Sep 2021, 19:31

My email host now requires SMPT TLS. So all my ESP8266 devices can't send me any more love letters. If adding TLS is not practical then does anyone have a workaround?

- Thomas

User avatar
Ath
Normal user
Posts: 1167
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Notify using ssl/tls

#6 Post by Ath » 20 Sep 2021, 20:20

If you have something light/simple as a Raspberry Pi, you could run a simple mail server there, that can forward to your external host. Can't offer much help here, as I'm not running anything like that myself.

If you have a stationary Windows system running, you could use hmailserver
/Ton

User avatar
ThomasB
Normal user
Posts: 894
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Notify using ssl/tls

#7 Post by ThomasB » 20 Sep 2021, 20:27

If you have something light/simple as a Raspberry Pi, you could run a simple mail server there, that can forward to your external host.
Brilliant. I have several RPI's running 24/7.

I did a quick online search and it looks like I have a lot of reading/digesting to do. If anyone has already done it then please share any tips.

@Ath, Thank you for pointing out this possible workaround.

- Thomas

TD-er
Core team member
Posts: 5529
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Notify using ssl/tls

#8 Post by TD-er » 20 Sep 2021, 20:50

Today I started working on TLS implementation for MQTT, so that's something that will be there soon. (at least for ESP32, it really takes a lot of RAM)
But maybe with core 3.0.0 where we can have an extra heap, then it might be workable on ESP8266.

User avatar
ThomasB
Normal user
Posts: 894
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Notify using ssl/tls

#9 Post by ThomasB » 20 Sep 2021, 21:12

But maybe with core 3.0.0 where we can have an extra heap, then it might be workable on ESP8266.
+1

- Thomas

TD-er
Core team member
Posts: 5529
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Notify using ssl/tls

#10 Post by TD-er » 20 Sep 2021, 23:27

ThomasB wrote: 20 Sep 2021, 21:12 [...]
+1

- Thomas
Strange formula... +1 -Thomas ;)

User avatar
ThomasB
Normal user
Posts: 894
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Notify using ssl/tls

#11 Post by ThomasB » 21 Sep 2021, 01:13

The mathematical equivalence of -Thomas cannot be calculated. Typically invokes a divide by zero error.

TD-er
Core team member
Posts: 5529
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Notify using ssl/tls

#12 Post by TD-er » 21 Sep 2021, 19:43

Or you are your positive self, the square of i?

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests