uchicom / smtp

SMTPサーバ.
Apache License 2.0
0 stars 0 forks source link

CRAM-MD5 #1

Open uchicom opened 5 years ago

uchicom commented 5 years ago

goal

参考 http://yamatyuu.net/computer/program/vc2013/sendmail_cram_md5/index.html https://www.tohoho-web.com/ex/draft/smtp-auth.htm https://stackoverflow.com/questions/186827/smtp-with-cram-md5-in-java

DESIGN

C: AUTH CRAM-MD5
S: 334 PDM0ODAuNjAxLjEwNTkyMzkyNTRAbWFpbC56enouZG9tPg== <123456789.012@testserver.com>
C: dGFuYWthIDU4M2UzMTBhZTRiNjBhZGU0Yjc4YzlhYWU5ZDdjY2Y2
S: 235 Authentication successful

チャレンジコード 12345.234@domain.com数値の部分はrandom数値を渡せばよいか?? これは、サーバーに保存する

Neustradamus commented 1 year ago

@uchicom: Please do not add unsecure and old CRAM-MD5 mechanism:

Can you remove unsecure and old LOGIN mechanism?

LOGIN has been replaced by PLAIN but PLAIN can not be used without a secure connection.

Now it is SCRAM-SHA-*(-PLUS)!

SCRAM-SHA-1(-PLUS):

SCRAM-SHA-256(-PLUS):

SCRAM-SHA-512(-PLUS):

SCRAM-SHA3-512(-PLUS):

-PLUS variants:

IMAP:

LDAP:

HTTP:

2FA:

IANA: