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

Cannot use YAM to get emails with AmiSSL 4.3 #27

Closed
jerseywurzel opened this issue Feb 23, 2019 · 29 comments
Closed

Cannot use YAM to get emails with AmiSSL 4.3 #27

jerseywurzel opened this issue Feb 23, 2019 · 29 comments
Assignees
Milestone

Comments

@jerseywurzel
Copy link

Hi Jens,
Thanks for AMiSSL4.3.
Unfortunately, YAM latest nightly build as of 23.02.19 can no longer connect to the live server to download emails, though it can connect to the upload server. It was working fine with V4.2. I just tried to re-install 4.2 but it didnt work because traces of 4.3 were still recognised. Real Amiga OS3.9 A1200/060. I hope its not that the real miggy is too slow now.

@jens-maus
Copy link
Owner

And what exactly is a "live server" and "upload server"?!?!

@jerseywurzel
Copy link
Author

Sorry. Live is the Outlook/Hotmail server, I use the same smtp.Live server to send emails too.

@Futaura
Copy link
Collaborator

Futaura commented Feb 23, 2019

So, you are saying POP3 doesn't work, but SMTP does? What are the server names? And are there any error messages?

@Futaura
Copy link
Collaborator

Futaura commented Feb 23, 2019

Have been looking more closely at this and using the OpenSSL command to connect to pop3.live.com, the same TLSv1.2 cipher is used with both 4.2 and 4.3, so there shouldn't be a speed related issue. This is using the OS4 build, I should add, but it should be the same on OS3.

Try OpenSSL s_client -connect pop3.live.com:995 and see what it says. Unfortunately, it seems the m68k build doesn't work under emulation on OS4, so I can't test it.

You may need to use the OS3 OpenSSL command from 4.2 (the 4.3 one is crashing for me under emulation on OS4). This will work with the 4.3 libs too.

@jerseywurzel
Copy link
Author

jerseywurzel commented Feb 24, 2019 via email

@jerseywurzel
Copy link
Author

jerseywurzel commented Feb 24, 2019 via email

@Futaura
Copy link
Collaborator

Futaura commented Feb 24, 2019

Posting the entire output from the OpenSSL command would be helpful. It is frustrating that AmigaKit hijacked my broken A1200, as I have no way of testing the m68k AmiSSL natively. And the m68k emulation on OS4 breaks AmiSSL it seems, which obviously doesn't help.

@jerseywurzel
Copy link
Author

jerseywurzel commented Feb 24, 2019 via email

@Futaura
Copy link
Collaborator

Futaura commented Feb 24, 2019

@jerseywurzel Nope - I think you can only attach files via the full web interface.

@jerseywurzel
Copy link
Author

Ok, hope it's attached now?
log.txt

@jerseywurzel
Copy link
Author

jerseywurzel commented Feb 24, 2019 via email

@Futaura
Copy link
Collaborator

Futaura commented Feb 24, 2019

Yes, thanks. May need to get you to re-run it later with extra debug output on, but I've got a deja vu feeling so will check back through the archives.

Does the OpenSSL command from 4.3 work for you or does it crash? Output looks like it is the 4.2 command.

@Futaura
Copy link
Collaborator

Futaura commented Feb 24, 2019

Ok, I knew this felt familiar - see #11 - did you make any changes to get previous versions of AmiSSL v4 working with YAM? ECDH key exchange is a potential issue still. Maybe cipher priority changed since OpenSSL 1.1.0g and/or older faster ciphers were removed, which is causing ECDH to be chosen when it wasn't before.

@jerseywurzel
Copy link
Author

jerseywurzel commented Feb 24, 2019 via email

@jerseywurzel
Copy link
Author

Hi Oliver,
Not sure if you saw a reply; Im sure I sent one but it doesnt show here.

Not sure how to tell what version OpenSSL command (Version OpenSSL?) it used or how to change from one version to another -could you let me know?

@Futaura
Copy link
Collaborator

Futaura commented Mar 4, 2019

@jerseywurzel Yes, "version OpenSSL". Although, I am 99% sure the latest OpenSSL command is broken on m68k somehow.

What is your DefaultSSLCiphers setting in your YAM .config file? Sounds like you may need to adjust this like you did previously.

@jerseywurzel
Copy link
Author

jerseywurzel commented Mar 4, 2019

@Futaura
Ok, I tried version openssl but it wasn't found. So I searched and found a few in C:, SSLROOT, and previous versions of animal from 3.6 onwards. I tidied it all up but version command still didn't work, although dopus does. I've tried various versions but none enable yam to download mail, although uploading does. I can't find a defaultcipher setting in Yam at all but I wouldn't have amended them.
Do you need me to manually install previous versions of openssl and run the test command at all?
Thanks

@Futaura
Copy link
Collaborator

Futaura commented Mar 4, 2019

The OpenSSL command should be in AmiSSL: on OS3, IIRC. Don't worry about testing this further though.

Regarding DefaultSSLCiphers I refer you to #11 (comment) :-) Just wondering if something changed in this respect when you updated YAM.

@jerseywurzel
Copy link
Author

Ah, I think you're onto it. The DefaultSSLCipher was:
ECDHE-RSA-AES128-SHA.

After changing it as per the previous comment, it worked! Thank you so much.
It looks like the default ciphers were changed somehow?

@jens-maus
Copy link
Owner

Can you please state what exactly you entered now as the new DefaultSSLCipher setting?!?

@jerseywurzel
Copy link
Author

@ jens-maus
Yes, I entered
DefaultSSLCiphers = AES256-SHA

Also, I am using the OPENSSL command from the Amissl 4.3 download, version 1.1.1a 20 Nov 18.

@jerseywurzel
Copy link
Author

@jens-maus
I was doing some testing using the OPENSSL command. The version 1.1.1a did not work (causing an error and freezing the miggy), but version 1.1.0g (from amissl4.2) does work

@Futaura
Copy link
Collaborator

Futaura commented Mar 8, 2019

@jerseywurzel Thanks for confirming - I've opened a separate issue (#28) for that.

Regarding your DefaultSSLCiphers, as @jens-maus told you a long time ago, that isn't one of the most secure settings. I would recommend trying setting it to the default and adding ":!ECDH" to the end. This will disable all the ECDH(E) ciphers that are problematic on m68k and choose the best of the rest instead. You could also try "DEFAULT:!ECDH" or "ALL:!ECDH". That said, some of the other ciphers may be problematic on m68k too.

@jerseywurzel
Copy link
Author

jerseywurzel commented Mar 9, 2019 via email

@Futaura
Copy link
Collaborator

Futaura commented Jan 18, 2020

@jerseywurzel I wonder - are you running MuRedox? If not, please give it a try (assuming you are still using MMULib). I think it may help.

@jerseywurzel
Copy link
Author

jerseywurzel commented Jan 18, 2020 via email

Futaura added a commit that referenced this issue Feb 8, 2020
- No longer crashes on 68020/030 without an FPU (#37)
- Found and fixed fundamental flaw specific to 68060 only
- Split release into two libraries (68020-40 and 68060)
- Hopefully fixes #8 and #27 also
@Futaura
Copy link
Collaborator

Futaura commented Feb 15, 2020

@jerseywurzel It will be interesting to see if AmiSSL 4.4 has improved your YAM experience - IIRC, YAM is compiled for AmiSSL 4.2, so it will automatically use AmiSSL 4.4 instead once you've installed it. I'm hopeful it will resolve your issue due to a fundamental flaw being fixes specific to running on a 68060.

@jerseywurzel
Copy link
Author

jerseywurzel commented Feb 16, 2020 via email

@Futaura Futaura self-assigned this Feb 16, 2020
@Futaura Futaura added this to the 4.4 milestone Feb 16, 2020
@Futaura
Copy link
Collaborator

Futaura commented Feb 16, 2020

Fixed in ff6c5f9

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

No branches or pull requests

3 participants