Repository navigation
정리: 기본 비밀번호로 메일에 접속하는 계정을 보여 주는 명령을 더하고, SCRAM 로그인도 마지막 사용 시각을 남긴다 - #55
Merged
Merged
Conversation
왜(회원 공통 수치 2026-10-18, 이 창 결정 A): 메일 프로토콜은 앱 비밀번호로 옮기고, 기본 비밀번호로 접속하던 길은 2주 관측 뒤 계정별로 끊는다. 그 관측 수단이 없었다. - `mail-password-usage --days=N`(기본 14, 1~365): 최근 N일 안에 기본 비밀번호로 메일에 접속한 계정과 그 계정의 앱 비밀번호 수·최근 사용. 관리 명령이라 REST·CLI·콘솔에 함께 생긴다. 마이그레이션 없음. - 근거는 기본 비밀번호 자격증명의 `last_used_at`이다. 메일 표면의 로그인에서만 갱신되고 셀프서비스 웹 로그인은 갱신하지 않는다. 그런데 SCRAM 로그인(`scramAuthorize`)은 이 값을 갱신하지 않아서 SCRAM 클라이언트가 관측에서 빠졌다 — PLAIN 경로와 같이 갱신한다(베스트에포트). - 끊는 스위치와 날짜는 관측 뒤에 정한다(OPERATIONS에 절차 자리를 만들었다). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- OPERATIONS: 관측 2주는 이 릴리즈가 배포된 날부터 센다(그 전엔 SCRAM 로그인이 기록을 남기지 않아 SCRAM 전용 클라이언트가 빠진다), 비밀번호를 바꾸면 기록이 비워진다, 디렉터리(LDAP) bind 메일 로그인은 여기 나오지 않는다(감사 로그로 따로 본다). 표면 목록에 JMAP을 맞췄다. - `days` 인자를 number로(콘솔이 숫자 입력란을 그리고 검증이 먼저 거른다). - scramKeysFor·scramAuthorize의 kind=0 행 순서에 id를 붙여 같은 밀리초 동률에서도 같은 행을 고른다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mack-erel
force-pushed
the
mail-password-usage
branch
from
October 19, 2026 01:44
c28af1a to
fca366c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
기본 비밀번호로 메일에 접속하는 계정을 보여 주는 관리 명령
mail-password-usage를 추가합니다. SCRAM 로그인도 마지막 사용 시각을 남기게 고칩니다. 회원 공통 수치 반영 계획 P5의 관측 단계이고, 마이그레이션은 없습니다.왜
메일 프로토콜은 앱 비밀번호로 옮겨 가고, 기본 비밀번호로 접속하던 길은 2주 관측한 뒤 계정별로 끊습니다(결정 A). 그런데 지금은 그 관측 수단이 없었습니다.
바뀐 것
mail-password-usage --days=Nlast_used_at입니다. 이 값은 메일 표면 로그인에서만 갱신되고, 셀프서비스 웹 로그인은 갱신하지 않습니다.scramAuthorize가 이 값을 갱신하지 않아서 SCRAM 클라이언트가 관측에서 빠지고 있었습니다. PLAIN 경로와 똑같이 갱신하게 고쳤습니다.검증
npm run verify통과. 테스트 2726개.배포 영향
마이그레이션은 없습니다. 끊는 스위치와 차단 날짜는 관측을 마친 뒤 따로 정합니다.
🤖 Generated with Claude Code