💾 Archived View for bbs.geminispace.org › u › clseibold › 5934 captured on 2023-11-14 at 10:00:38. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
Re: "Hol up a second. Yall mean to tell me that somebody's..."
@Supernove Hm... that shouldn't be happening. Somehow it's not able to open your cert.
Also, it needs to be the full file, the cert and private key, because the private key in the file is required so SSL knows that you are the owner of that certificate. If your crt file contains the cert and the private key, then that should be fine.
Oct 06 · 6 weeks ago
🚀 clseibold · Oct 06 at 00:58:
@Supernova I have released a new version of misfinmail that will now properly error out when the sender cert cannot be opened. Not sure if this might be what you encountered, but it was an update that needed to be done regardless. Honestly can't believe I overlooked this, lol.
🔭 Supernova · Oct 06 at 01:25:
Couldn't open certificate at location '~/Documents/misfin/admin.pem'. Make sure the cert is configured correctly in '~/misfinmail.conf' and that the cert is accessible by the user.
open ~/Documents/misfin/admin.pem: no such file or directory
But when I changed it to the fully explicit path I was able to send mail! So the ~ doesn't work when defining the cert fle.
🚀 clseibold · Oct 06 at 01:27:
@Supernova Ah, interesting! I thought I made ~ work correctly (on all platforms), but looks like I need to look at that code again. Thanks! I'll try to fix this bug as soon as I can.
🚀 clseibold · Oct 06 at 01:28:
@Supernova One question, are you on Linux or Windows? (Looks like Windows from the "Documents" folder, but just want to make sure)
🔭 Supernova · Oct 06 at 01:40:
@clseibold, I am on Fedora KDE which does provide ~/Documents, ~/Downloads, etc.
Fetch still isn't working. I get output telling me where it is fetching from and to which looks right, but no file is created and no error messages.
🚀 clseibold · Oct 06 at 01:57:
@Supernova Ok thanks, I will look into that as well. The problem could be the path that it's trying to save the gembox in, which is default to "~/.gembox".
I think the "~" was having a problem because I had to disable CGO as CGO links with a version of Glibc that not all platforms have, apparently, and so I think the native golang implementations of file opening might not handle "~" properly on linux, idk. It's a simple fix by just doing the same thing that I do with Windows, which is to replace "~" with the user's home directory, although I should do testing to see if the golang implementation actually gets the user's home directory correctly, lol.
🚀 clseibold · Oct 06 at 02:30:
@Supernova I have released a new version, version 0.4.6, with some bug fixes: https://gitlab.com/clseibold/misfinmail/-/releases/0.4.6
I've also tested it this time on my WSL instance, so hopefully the fetching, and everything else, will work this time.
Hol up a second. Yall mean to tell me that somebody's cooking up an actual mail protocol inside geminispace? BRUH. Now I wanna try actually messing with implementing a protocol spec from the ground up for once, instead of watching and thinking "Wow that would be cool." Because email is a pain. Port 25 is a gateway to sadness as a sysadmin. This, however, seems simple and clean enough to actually be fun to handle and use, AND just might work for this environment. Nice!
💬 wholesomedonut · 19 comments · 4 likes · Oct 03 · 6 weeks ago