knadh / dns.toys

A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.
https://www.dns.toys
MIT License
2.48k stars 135 forks source link

feat: add AES encryption key generator #67

Closed dracarys18 closed 10 months ago

dracarys18 commented 10 months ago

closes #66

knadh commented 10 months ago

Thanks for the PR @dracarys18. Just wondering, transmitting encryption keys that people may use in production, over plaintext UDP, is that a good idea? :cold_face:

dracarys18 commented 10 months ago

Perhaps we can have something like DNS over TLS

knadh commented 10 months ago

Adding HTTP/TLS + DNS defies the purpose of dns.toys though. For that, it's then just easier to setup an HTTP/TLS service that can just be curl'd.

dracarys18 commented 10 months ago

Oh that makes sense! I guess we hit the wall here, Shall I close the PR then?

knadh commented 10 months ago

Yep, I think we should close this. While the PR on its own is perfectly fine, we shouldn't set the precedent of users copy-pasting and using encryption keys transmitted over an unencrypted channel.