jakartaee / jakartaee/mail-api

Tls parameters in imap/smpt sessions

Open
#724 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
285
Forks
109
Avg merge
15h 19m
Merged PRs (30d)
1

Description

Our mail server accepts requests with a certain set of cipher suites, extensions, EllipticCurves,EllipticCurvePointFormats. And if cipher suites is set by the parameter mail.smtp.ssl.ciphersuites (at least in java mail), it is not clear with the other parameters. And I tried to change ciphersuites in jakarta.mail, it didn't work.

```
String cipherSuites = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,...";
props.put("mail.smtp.ssl.ciphersuites", cipherSuites);
```

And so the question:

How in imap/smpt connection do I replace:
1. cipher suites
2. extensions
3. EllipticCurves
4. EllipticCurvePointFormats

Contributor guide

Open the contributing guide

Research direction

The report points to IMAP/SMTP TLS setup and the mail.smtp.ssl.ciphersuites property, but names no source file or test. Start by locating the existing TLS-property handling and related tests, then establish the supported configuration for cipher suites, extensions, EllipticCurves, and EllipticCurvePointFormats. Done requires a clearly agreed scope covering all four settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.