Skip to content

Commit

Permalink
#41 Feat: 공동인증서를 사용자 Wallet에 저장, 해당 정보와 BlockChain&PDF메타데이터 인증서 인증 수행…
Browse files Browse the repository at this point in the history
… [박한솔]
  • Loading branch information
pjhcsols committed Jan 10, 2025
1 parent 24fd710 commit d151a94
Show file tree
Hide file tree
Showing 17 changed files with 399 additions and 54 deletions.
228 changes: 213 additions & 15 deletions web3-credential-server/build/reports/tests/test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ <h1>Test Summary</h1>
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">1</div>
<div class="counter">15</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">0</div>
<div class="counter">15</div>
<p>failures</p>
</div>
</td>
Expand All @@ -38,7 +38,7 @@ <h1>Test Summary</h1>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">0.478s</div>
<div class="counter">1.076s</div>
<p>duration</p>
</div>
</td>
Expand All @@ -47,8 +47,8 @@ <h1>Test Summary</h1>
</div>
</td>
<td>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<div class="infoBox failures" id="successRate">
<div class="percent">0%</div>
<p>successful</p>
</div>
</td>
Expand All @@ -58,13 +58,81 @@ <h1>Test Summary</h1>
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Packages</a>
<a href="#tab0">Failed tests</a>
</li>
<li>
<a href="#tab1">Packages</a>
</li>
<li>
<a href="#tab1">Classes</a>
<a href="#tab2">Classes</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Failed tests</h2>
<ul class="linkList">
<li>
<a href="classes/web3.api.identity.AccessTokenTest.html">AccessTokenTest</a>.
<a href="classes/web3.api.identity.AccessTokenTest.html#shouldPublishAccessTokenSuccessfully()">shouldPublishAccessTokenSuccessfully()</a>
</li>
<li>
<a href="classes/web3.api.identity.DriverLicenseTest.html">DriverLicenseTest</a>.
<a href="classes/web3.api.identity.DriverLicenseTest.html#shouldCheckPassportValiditySuccessfully()">shouldCheckPassportValiditySuccessfully()</a>
</li>
<li>
<a href="classes/web3.api.identity.IdentityCheckTest.html">IdentityCheckTest</a>.
<a href="classes/web3.api.identity.IdentityCheckTest.html#shouldCheckPassportValiditySuccessfully()">shouldCheckPassportValiditySuccessfully()</a>
</li>
<li>
<a href="classes/web3.api.passport.PassportValidityTest.html">PassportValidityTest</a>.
<a href="classes/web3.api.passport.PassportValidityTest.html#shouldCheckPassportValiditySuccessfully()">shouldCheckPassportValiditySuccessfully()</a>
</li>
<li>
<a href="classes/web3.api.qnet.QnetCertificateStatusTest.html">QnetCertificateStatusTest</a>.
<a href="classes/web3.api.qnet.QnetCertificateStatusTest.html#shouldCheckQnetCertificateStatusSuccessfully()">shouldCheckQnetCertificateStatusSuccessfully()</a>
</li>
<li>
<a href="classes/web3.api.qnet.QnetTest.html">QnetTest</a>.
<a href="classes/web3.api.qnet.QnetTest.html#shouldCheckQnetCertificateStatusSuccessfully()">shouldCheckQnetCertificateStatusSuccessfully()</a>
</li>
<li>
<a href="classes/web3.api.univCert.UnivCertApiTest.html">UnivCertApiTest</a>.
<a href="classes/web3.api.univCert.UnivCertApiTest.html#shouldClearCertifiedUserListSuccessfully()">인증된 사용자 목록 초기화에 성공해야 합니다.</a>
</li>
<li>
<a href="classes/web3.api.univCert.UnivCertApiTest.html">UnivCertApiTest</a>.
<a href="classes/web3.api.univCert.UnivCertApiTest.html#shouldGetCertifiedUserListSuccessfully()">인증된 사용자 목록 조회에 성공해야 합니다.</a>
</li>
<li>
<a href="classes/web3.api.univCert.UnivCertApiTest.html">UnivCertApiTest</a>.
<a href="classes/web3.api.univCert.UnivCertApiTest.html#shouldGetEmailCertificationStatusSuccessfully()">이메일 인증 상태를 성공적으로 조회해야 합니다.</a>
</li>
<li>
<a href="classes/web3.api.univCert.UnivCertApiTest.html">UnivCertApiTest</a>.
<a href="classes/web3.api.univCert.UnivCertApiTest.html#shouldSendCertificationCodeSuccessfully()">인증 코드 전송에 성공해야 합니다.</a>
</li>
<li>
<a href="classes/web3.api.univCert.UnivCertApiTest.html">UnivCertApiTest</a>.
<a href="classes/web3.api.univCert.UnivCertApiTest.html#shouldSendUnivNameSuccessfully()">인증 요청할 대학명 전송에 성공해야 합니다.</a>
</li>
<li>
<a href="classes/web3.api.univCert.UnivCertApiTest.html">UnivCertApiTest</a>.
<a href="classes/web3.api.univCert.UnivCertApiTest.html#shouldVerifyCertificationCodeSuccessfully()">인증 코드 검증에 성공해야 합니다.</a>
</li>
<li>
<a href="classes/web3.cors.AcceptanceTest.html">AcceptanceTest</a>.
<a href="classes/web3.cors.AcceptanceTest.html#cors()">cors()</a>
</li>
<li>
<a href="classes/web3.kakao.RestClientTest.html">RestClientTest</a>.
<a href="classes/web3.kakao.RestClientTest.html#testKakaoLoginFlowFailure()">testKakaoLoginFlowFailure()</a>
</li>
<li>
<a href="classes/web3.kakao.RestClientTest.html">RestClientTest</a>.
<a href="classes/web3.kakao.RestClientTest.html#testKakaoLoginFlowSuccess()">testKakaoLoginFlowSuccess()</a>
</li>
</ul>
</div>
<div id="tab1" class="tab">
<h2>Packages</h2>
<table>
<thead>
Expand All @@ -79,19 +147,69 @@ <h2>Packages</h2>
</thead>
<tbody>
<tr>
<td class="success">
<td class="failures">
<a href="packages/web3.api.identity.html">web3.api.identity</a>
</td>
<td>3</td>
<td>3</td>
<td>0</td>
<td>0.006s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="packages/web3.api.passport.html">web3.api.passport</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0.610s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="packages/web3.api.qnet.html">web3.api.qnet</a>
</td>
<td>2</td>
<td>2</td>
<td>0</td>
<td>0.447s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="packages/web3.api.univCert.html">web3.api.univCert</a>
</td>
<td>6</td>
<td>6</td>
<td>0</td>
<td>0.002s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="packages/web3.cors.html">web3.cors</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0.001s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="packages/web3.kakao.html">web3.kakao</a>
</td>
<td>2</td>
<td>2</td>
<td>0</td>
<td>0.478s</td>
<td class="success">100%</td>
<td>0.010s</td>
<td class="failures">0%</td>
</tr>
</tbody>
</table>
</div>
<div id="tab1" class="tab">
<div id="tab2" class="tab">
<h2>Classes</h2>
<table>
<thead>
Expand All @@ -106,14 +224,94 @@ <h2>Classes</h2>
</thead>
<tbody>
<tr>
<td class="success">
<td class="failures">
<a href="classes/web3.api.identity.AccessTokenTest.html">web3.api.identity.AccessTokenTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0.005s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.api.identity.DriverLicenseTest.html">web3.api.identity.DriverLicenseTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.api.identity.IdentityCheckTest.html">web3.api.identity.IdentityCheckTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0.001s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.api.passport.PassportValidityTest.html">web3.api.passport.PassportValidityTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0.610s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.api.qnet.QnetCertificateStatusTest.html">web3.api.qnet.QnetCertificateStatusTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0.447s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.api.qnet.QnetTest.html">web3.api.qnet.QnetTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.api.univCert.UnivCertApiTest.html">web3.api.univCert.UnivCertApiTest</a>
</td>
<td>6</td>
<td>6</td>
<td>0</td>
<td>0.002s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.cors.AcceptanceTest.html">web3.cors.AcceptanceTest</a>
</td>
<td>1</td>
<td>1</td>
<td>0</td>
<td>0.001s</td>
<td class="failures">0%</td>
</tr>
<tr>
<td class="failures">
<a href="classes/web3.kakao.RestClientTest.html">web3.kakao.RestClientTest</a>
</td>
<td>2</td>
<td>2</td>
<td>0</td>
<td>0.478s</td>
<td class="success">100%</td>
<td>0.010s</td>
<td class="failures">0%</td>
</tr>
</tbody>
</table>
Expand All @@ -126,7 +324,7 @@ <h2>Classes</h2>
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 8.4</a> at 2024. 10. 6. 오후 9:08:24</p>
<a href="http://www.gradle.org">Gradle 8.4</a> at 2025. 1. 10. 오전 10:03:42</p>
</div>
</div>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@ spring.h2.console.path=/h2-console
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect

#spring.datasource.url=jdbc:h2:mem:testdb

# SQL
# JPA ??? ??? ???? ?
spring.sql.init.schema-locations=classpath:schema.sql
#spring.jpa.hibernate.ddl-auto=create
spring.jpa.open-in-view=true

# data ???? ??
spring.sql.init.data-locations=classpath:data.sql
spring.sql.init.mode=always

#spring.jpa.hibernate.ddl-auto=create
spring.jpa.open-in-view=true
# data? ?? ???
#defer-datasource-initialization: true

spring.servlet.multipart.enabled=true
spring.servlet.multipart.max-file-size=10MB
Expand Down Expand Up @@ -76,3 +82,4 @@ server.http2.enabled=false
sign.sign-cert-dir= web3-credential-server/src/main/resources/signCertStorage/
sign.sign-pri-dir= web3-credential-server/src/main/resources/signPriStorage/

server.port=8090
8 changes: 4 additions & 4 deletions web3-credential-server/build/resources/main/data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ VALUES
('[email protected]', '$2a$10$EXAMPLEHASHFORUSERPASSWORD'),
('3751271433', '$2a$10$ENYqGvZ3p6LvtsBnRWINSOJHKlMt1Ykgb3.jCnoKkrhMihviXhkDu');

INSERT INTO wallets (user_id, private_key, public_key)
INSERT INTO wallets (user_id, private_key, public_key, sign_cert_path, sign_pri_key_path)
VALUES
(1, 'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDQ09GHNhajYZvw2Kf9Zn4D75niwEyFZLkCVPiOmUuSZTTx/c/wBOOgNw3Q2Uby0c8ChXdzRkGER+4fdd0J7N4YPVgYc9DANbZKtxow8NWQwmRo/IJxVZQonPVtCjvf5MZeFm10WUctTqtvvrJDFOTWNuqA2PBNTzrIS3DThUkTkX+OSASdlV4UGjBhTcAnUCSykexoARM6Z22tEXwR0lY0st0Uk1/Slfl8XvOx0YFVYHorP4RpkyPy9/ELfxlSvJN6Bs+6KUaLnJIzjIZbfCdv5uESTrl8g9lhPlGtHvKzVL3/bce8QauKTRX2km+e5CMbtylcDpBiNiTdtgsNJ4oVAgMBAAECggEACNSn4EHIGmHgY9Ps4wkm9n/T+ObYT7nwkf44PDSUOOX26XmHBfv5IDjZlytr50cjICZCtjqSPt72XVMfn07TNSDWmPFjYO1qW7zYdjxxrP5BPr+pvNOKzNMLcdkS2Xh85A7wu/lzm7iZeU9rAjNf5e4FHeal3yNqqfC+wPGjUepaMOfLBfznTZne0kdsheVpeIxOhKRZ4UA/y2+fS0iMWyfngTDWbURO3aSAGJh8cnAuBqMz4M5ZYQ/susL6NeuazobCyZhEnNYVUdK4dtXYae6oe+UwukprVk2nDhbvOuvj6RRiBdCKUpCvuaOgu1NeQuOL0rLkWzgo+YrN4t45VQKBgQD+BqYRRxVLs2oUUjFybRxq+UrzMLZvpOn/XxREmvBJQXVRbuw0bLGZ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6QmJRaFe131V6jvhUmFHIGZSBjadAslHVxGXy4TydCKwKBgHnDShsCDa0ppPF0rIsCzhpgwJJtiSVe0WM9egOgmQkkPU35c3N1nnPGzfk6WkHySF2Df0/FFufX3s5HNblsZNvMSvq3JS8AWA2k413tttdog0NnnD/vIv+xXv4HqgnY2SfY79icz6udaWnBdBXXfu0BD67wJw6AZPpMqQqa6esVAoGASVIQRcmhyIzBD8nTcAtYUGC7G8U7y00HYR45kcMfx0HYZ+4pYrWokIGtydxQdfNLRQSJ6cf+8mecN5Lkgt45aSzd3DdOUYfM6+HeLRqv6klJMeSFQ5x153PDU8lxzGMASv5tyUkUeAiltWS3V5IN+/5ln10xQybiF+pqUoh5RAsCgYA2V5W2WBmQXzq3tZFXZ6cvF/hWbMxNytsVEtVzd2iy3RVaZYyCH01IRA8RpmCYc1ydh/jasy8L2FctOdhrJ7FGWY9c65V4hEy7XIfjiBY6NJFwHGKQnoilecRTKZK6uPIskOrokZi9MA4zn4HDezaFM3eJ89xZh+Lb7+yjhY/oDw==', 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0NPRhzYWo2Gb8Nin/WZ+A++Z4sBMhWS5AlT4jplLkmU08f3P8ATjoDcN0NlG8tHPAoV3c0ZBhEfuH3XdCezeGD1YGHPQwDW2SrcaMPDVkMJkaPyCcVWUKJz1bQo73+TGXhZtdFlHLU6rb76yQxTk1jbqgNjwTU86yEtw04VJE5F/jkgEnZVeFBowYU3AJ1AkspHsaAETOmdtrRF8EdJWNLLdFJNf0pX5fF7zsdGBVWB6Kz+EaZMj8vfxC38ZUryTegbPuilGi5ySM4yGW3wnb+bhEk65fIPZYT5RrR7ys1S9/23HvEGrik0V9pJvnuQjG7cpXA6QYjYk3bYLDSeKFQIDAQAB','/Users/hansol/Desktop/공개SW/final/Web3.0-Credential_Management_System/web3-credential-server/src/main/resources/signCertStorage/1_signCert.der', '/Users/hansol/Desktop/공개SW/final/Web3.0-Credential_Management_System/web3-credential-server/src/main/resources/signPriStorage/1_signPri.key'),
(2, 'privateKeyForUser2', 'publicKeyForUser2',null,null),
(3, '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',null,null);

INSERT INTO wallet_pdf_urls (wallet_id, certificate_type, pdf_url)
VALUES
Expand Down
2 changes: 2 additions & 0 deletions web3-credential-server/build/resources/main/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ CREATE TABLE wallets (
user_id BIGINT NOT NULL,
private_key TEXT NOT NULL, -- TEXT로 변경
public_key TEXT NOT NULL, -- TEXT로 변경
sign_cert_path VARCHAR(255),
sign_pri_key_path VARCHAR(255),
FOREIGN KEY (user_id) REFERENCES users(id)
);

Expand Down
Binary file modified web3-credential-server/build/test-results/test/binary/output.bin
Binary file not shown.
Binary file not shown.
Binary file modified web3-credential-server/build/test-results/test/binary/results.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit d151a94

Please sign in to comment.