-
Notifications
You must be signed in to change notification settings - Fork 8
chore: ci 스크립트 작성 및 ci 통과를 위한 코드 수정 #266
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
Merged
nayonsoso
merged 12 commits into
solid-connection:develop
from
nayonsoso:chore/111-implement-ci-and-fix-test
Apr 2, 2025
Merged
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
9d2499e
chore: ci 스크립트 작성
nayonsoso 4a4beef
chore: 테스트용 application.yml 분리
nayonsoso 258afc3
test: test profile 제거
nayonsoso 88d3d18
refactor: 애플 시크릿키를 yml로 이동
nayonsoso bf221bb
refactor: 함수 이름 변경
nayonsoso ce48dd5
refactor: 오타 수정
nayonsoso bac8b4e
refactor: redis testcontainers 설정 수정
nayonsoso 5009561
refactor: ddl-auto 옵션 변경
nayonsoso 2bc5313
test: e2e 테스트 수정
nayonsoso ca3b367
chore: createAt과 updateAt의 나노초 길이 고정
nayonsoso 3d203e8
style: 주석 추가
nayonsoso c364691
refactor: MySQL 테스트 컨테이너 설정 변경
nayonsoso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,7 +51,7 @@ oauth: | |
| team-id: team-id | ||
| key-id: key-id | ||
| redirect-url: "https://localhost:8080/auth/apple" | ||
| secret-key: MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCAfGIQ3TtNYAZG7i3m72odmdhfymkM9wAFg2rEL2RKUEA== | ||
| secret-key: MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCAfGIQ3TtNYAZG7i3m72odmdhfymkM9wAFg2rEL2RKUEA== # base64 encoded 된 임의의 값 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이 값은 디코드해도 의미없는 값이 나오는데 혹시 어떻게 생성하신건가요? 단순 호기심입니다!
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 사실 지피티한테 만드는 방법 물어봤씁니다 🤭 try {
KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC");
kpg.initialize(new ECGenParameterSpec("secp256r1"), new SecureRandom());
KeyPair kp = kpg.generateKeyPair();
PrivateKey privKey = kp.getPrivate();
String base64Encoded = Base64.getEncoder().encodeToString(privKey.getEncoded());
System.out.println("Base64 Encoded EC Private Key:");
System.out.println(base64Encoded);
} catch (Exception e) {
e.printStackTrace();
} |
||
| kakao: | ||
| redirect-url: "http://localhost:8080/auth/kakao" | ||
| client-id: client-id | ||
|
|
||
Oops, something went wrong.
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.
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.
실제 키처럼 보이는 거엔 주석 표시하는 거 좋은 거 같습니다!
근데 이것만 실제 키처럼 따로 설정을 해주신 이유가 있을까요?
추가로 이렇게 키처럼 보이면 깃허브에서 따로 경고 안주나요? 이건 그냥 궁금해서 여쭤봅니다. 😅
Uh oh!
There was an error while loading. Please reload this page.
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.
String인 secretKey 가 인자로 전달되는

Base64.decodeBase64() 함수는 'Base64로 인코딩된 문자열'이어야 합니다.
저도 처음에는 이걸 모르고 'secret-key' 같은 평범한 문자열을 사용했는데, 런타임 에러가 발생하더라고요 😳
그래서 랜덤하게 만들어서 넣어줬습니다!
안주더라고요~ 👍