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.
[refactor] #213 UID 관리 책임을 config-server로 이전 - WAS uid 완전 제거 #214
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
base: develop
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
[refactor] #213 UID 관리 책임을 config-server로 이전 - WAS uid 완전 제거 #214
Changes from all commits
9a4bf6c9ff5d9132dd626File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: CSID-DGU/admin_be
Length of output: 26602
🏁 Script executed:
fd 'AdminRequestCommandService.java' src/main -x cat -n {}Repository: CSID-DGU/admin_be
Length of output: 14874
passwd_base64필드에 SHA-512 해시가 전달되고 있습니다. 이는 심각한 계약 위반입니다.Line 104에서
request.getUbuntuPassword()를UserCreationRequestDTO의passwordBase64필드로 전달하고 있습니다. 그러나Request.ubuntuPassword는 저장 시점(RequestCommandService라인 181)에서 이미PasswordUtil.encodePassword()로 SHA-512 해싱되어 있습니다. 따라서 현재request.getUbuntuPassword()는 base64 형식이 아닌 SHA-512 16진수 해시입니다. Config-server의 사용자 생성 API는 base64 형식의 패스워드를 기대하므로, 이 변경으로 인해 사용자 생성이 실패하거나 잘못된 패스워드 형식으로 생성될 것입니다.원본 요청 생성 흐름에서 base64 패스워드를 별도로 저장하거나, 승인 흐름에서 해시 전 원본 패스워드를 별도 소스에서 가져오는 방식으로 수정해야 합니다.
🤖 Prompt for AI Agents
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.