online mysql is setting successfully
Change-Id: I3e9031f16d6c39c121ab8e8733445725f28591f3
diff --git a/private_key.pem b/private_key.pem
new file mode 100644
index 0000000..5167957
--- /dev/null
+++ b/private_key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC+Y/v7wfntpx10
+aL/CX1voil4tkfNpumJEpfUe/5DmXIzXqpDlK13dXHHfSM4AAcfM5uKIIHHmJ/C5
+f/cZbSz54rcoMXfpuomIOUcbs6DoESPZXZ7iT5IcGluDuPc7B+Dt8gUrzJ/Oe2Dq
+2BL6GF1J413ukAYF29pbF8xwMKzVJ2G2FwpvvsqyCCUIf3XNgWCY/YiHd6UJCvRc
+PKGvdNdmygyg6tZ46SzTgqjoVwNEmIbzJzRTyapVZAuTyLYACUlrVFz9YpW5BE2y
+MezsHkzRRoig5+4OJpUNZojSw/XhmAA67nfFwCD9EDv7lOuzjiLoTwr1WtYoUEZ+
+HZUbidBVAgMBAAECggEAHO1pHFvhIvQ4u/asaBaACul3HLpnvwE0LBUBFNgkxnN6
+bMw8Hq3Dob4JiTDxJ7wdhOrxsVgoph0cbLreKu1VH5SMWp2FiCww+FMnlDRrNsdf
+6IdafC012HJCxFVGrx/n049prLl28HL7i0MQQxKPngnfPD+CwsIgP6XyiHtEz0/c
+075lAByXVizFOGUz4iNN3YWnZ0KYuR8ciscdu96nzeZUNLAS3ArxwWjOAdPXdPN6
+JN5KnGBE9eY7GDep7OXmJrhYQHFKo79XsYGMO6kOKBAvUPmCAsF+FiDO5ifhaEgz
+Ww4YVPmWczYE97yEgegx4MceMGG64Yuc6rt+25U/sQKBgQDn+puwhVrbTO1XEEI0
+c5hxlCY69h2mgOrb6aiLSyHFfEP5/vI9xDcvojISHT6dZH4POZN8rPRWZT67Zfgp
+5GIF0IkQ1eaLSaJalO3aQ8aupMD3pUmJBUBujZ4Pu2YjgiEEAQs8eOZA6/0SHI2o
+/dywWR1iQaIyUu+NQmyn3ZItPQKBgQDSGu9EnYRu137NrsBW83q3zMTEvsrsMgeA
+GOnQkN5fBEs4uHWh3kJj6vJuVh89/ijCc+6qGT4cNXqNa3V0qNppUSz+T+KyHCLw
+Elibwn54Ik5vmGX53yw85tQbEsvAwgS60K/DvMqRPAKW3zVtm4qoYeT0zSzt1+kM
+Q+UGNCgQ+QKBgQCHcuKZDSRhy+cA4PNnIN+v4ar43l+tqrR3N1U8D+BmKQqf2+ah
+fgIjA/dscDrxN44LYbjmIS6Bi5g3X3CpNTqu3nZJqDt2tMXhUfgXa1+E9Znef1oS
+cUiPxIy37tnSfda9OcbPxl/bJG+dtaJZO/Ex3razelM0QwywVEqRMWR6mQKBgAyz
+qCdjxm/VA0t39xTKn26hKHwkdKwW0jFCUFBVkbv4zHtfW20vvJ/Bwmo9NqJOzTQE
+QjdyUzjtWr1V88Hbu2iGicvOFIxj+xC8azLvbSniGQ/SDMgwX8JGyifg2QSMNjD9
+EMMqlKx3DkkEsXww3Q8U6/yIsuCmHuao7B2V5Z4xAoGBAM3nBSx7GYzC2hJcuvEl
+zpJCYMd3deI/3IHBJP/qDhxjGJT2dPhRu1HqRTT7eRh8tcQVgo/vSMmLgrcAxtkw
+h4ZIShFm81Oe897UGJLkgMMdJe2bb6Q+a6bV+LNEO1kfev/aqXW+hcZiqaDT11dW
+BX3R0afhCJpem91nH3foC7aL
+-----END PRIVATE KEY-----
diff --git a/public_key.pem b/public_key.pem
new file mode 100644
index 0000000..ad6caf3
--- /dev/null
+++ b/public_key.pem
@@ -0,0 +1,9 @@
+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvmP7+8H57acddGi/wl9b
+6IpeLZHzabpiRKX1Hv+Q5lyM16qQ5Std3Vxx30jOAAHHzObiiCBx5ifwuX/3GW0s
++eK3KDF36bqJiDlHG7Og6BEj2V2e4k+SHBpbg7j3Owfg7fIFK8yfzntg6tgS+hhd
+SeNd7pAGBdvaWxfMcDCs1SdhthcKb77KsgglCH91zYFgmP2Ih3elCQr0XDyhr3TX
+ZsoMoOrWeOks04Ko6FcDRJiG8yc0U8mqVWQLk8i2AAlJa1Rc/WKVuQRNsjHs7B5M
+0UaIoOfuDiaVDWaI0sP14ZgAOu53xcAg/RA7+5Trs44i6E8K9VrWKFBGfh2VG4nQ
+VQIDAQAB
+-----END PUBLIC KEY-----
diff --git a/src/main/resources/application-db.yml b/src/main/resources/application-db.yml
index dc1a54b..c3c18c5 100644
--- a/src/main/resources/application-db.yml
+++ b/src/main/resources/application-db.yml
@@ -1,8 +1,8 @@
spring:
datasource:
- url: jdbc:mysql://127.0.0.1:3306/ppt?useSSL=false&serverTimezone=UTC
- username: root
- password: 204825
+ url: jdbc:mysql://202.205.102.121:3306/team6?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
+ username: team6
+ password: Team6666#
driver‑class‑name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index faca091..70a562f 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -67,6 +67,11 @@
is-concurrent: true
is-share: false
token-style: random-128
+
+security:
+ rsa:
+ # 指定服务器RSA公钥文件路径(支持classpath:或文件系统路径)
+ server-public-key-file: src/main/resources/keys/public_key.pem
#spring:
# profiles:
# active: test,db # 移除 caching 配置
diff --git a/src/main/resources/keys/public_key.pem b/src/main/resources/keys/public_key.pem
new file mode 100644
index 0000000..ad6caf3
--- /dev/null
+++ b/src/main/resources/keys/public_key.pem
@@ -0,0 +1,9 @@
+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvmP7+8H57acddGi/wl9b
+6IpeLZHzabpiRKX1Hv+Q5lyM16qQ5Std3Vxx30jOAAHHzObiiCBx5ifwuX/3GW0s
++eK3KDF36bqJiDlHG7Og6BEj2V2e4k+SHBpbg7j3Owfg7fIFK8yfzntg6tgS+hhd
+SeNd7pAGBdvaWxfMcDCs1SdhthcKb77KsgglCH91zYFgmP2Ih3elCQr0XDyhr3TX
+ZsoMoOrWeOks04Ko6FcDRJiG8yc0U8mqVWQLk8i2AAlJa1Rc/WKVuQRNsjHs7B5M
+0UaIoOfuDiaVDWaI0sP14ZgAOu53xcAg/RA7+5Trs44i6E8K9VrWKFBGfh2VG4nQ
+VQIDAQAB
+-----END PUBLIC KEY-----
diff --git a/target/classes/application-db.yml b/target/classes/application-db.yml
index dc1a54b..c3c18c5 100644
--- a/target/classes/application-db.yml
+++ b/target/classes/application-db.yml
@@ -1,8 +1,8 @@
spring:
datasource:
- url: jdbc:mysql://127.0.0.1:3306/ppt?useSSL=false&serverTimezone=UTC
- username: root
- password: 204825
+ url: jdbc:mysql://202.205.102.121:3306/team6?allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
+ username: team6
+ password: Team6666#
driver‑class‑name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
diff --git a/target/classes/application.yml b/target/classes/application.yml
index faca091..70a562f 100644
--- a/target/classes/application.yml
+++ b/target/classes/application.yml
@@ -67,6 +67,11 @@
is-concurrent: true
is-share: false
token-style: random-128
+
+security:
+ rsa:
+ # 指定服务器RSA公钥文件路径(支持classpath:或文件系统路径)
+ server-public-key-file: src/main/resources/keys/public_key.pem
#spring:
# profiles:
# active: test,db # 移除 caching 配置
diff --git a/target/classes/com/github/example/pt/autoconfig/QuartzConfig$AutowiringSpringBeanJobFactory.class b/target/classes/com/github/example/pt/autoconfig/QuartzConfig$AutowiringSpringBeanJobFactory.class
index 29f91eb..333d8ed 100644
--- a/target/classes/com/github/example/pt/autoconfig/QuartzConfig$AutowiringSpringBeanJobFactory.class
+++ b/target/classes/com/github/example/pt/autoconfig/QuartzConfig$AutowiringSpringBeanJobFactory.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/config/ApiPrinter.class b/target/classes/com/github/example/pt/config/ApiPrinter.class
index 9007cf5..7a08cda 100644
--- a/target/classes/com/github/example/pt/config/ApiPrinter.class
+++ b/target/classes/com/github/example/pt/config/ApiPrinter.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/config/MailConfig.class b/target/classes/com/github/example/pt/config/MailConfig.class
index 3091d5c..477c8d2 100644
--- a/target/classes/com/github/example/pt/config/MailConfig.class
+++ b/target/classes/com/github/example/pt/config/MailConfig.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/config/SecurityConfig.class b/target/classes/com/github/example/pt/config/SecurityConfig.class
index 554fba6..de31309 100644
--- a/target/classes/com/github/example/pt/config/SecurityConfig.class
+++ b/target/classes/com/github/example/pt/config/SecurityConfig.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/config/SiteBasicConfig.class b/target/classes/com/github/example/pt/config/SiteBasicConfig.class
index bdd9c21..0c786e5 100644
--- a/target/classes/com/github/example/pt/config/SiteBasicConfig.class
+++ b/target/classes/com/github/example/pt/config/SiteBasicConfig.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/config/TrackerConfig.class b/target/classes/com/github/example/pt/config/TrackerConfig.class
index b059e69..38d6e3e 100644
--- a/target/classes/com/github/example/pt/config/TrackerConfig.class
+++ b/target/classes/com/github/example/pt/config/TrackerConfig.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/DebugController$DebugPeer.class b/target/classes/com/github/example/pt/controller/DebugController$DebugPeer.class
index 355d0c6..3cc2b50 100644
--- a/target/classes/com/github/example/pt/controller/DebugController$DebugPeer.class
+++ b/target/classes/com/github/example/pt/controller/DebugController$DebugPeer.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/DebugController$DebugTorrent.class b/target/classes/com/github/example/pt/controller/DebugController$DebugTorrent.class
index 22fc1b8..3727055 100644
--- a/target/classes/com/github/example/pt/controller/DebugController$DebugTorrent.class
+++ b/target/classes/com/github/example/pt/controller/DebugController$DebugTorrent.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/announce/AnnounceController$PeerResult.class b/target/classes/com/github/example/pt/controller/announce/AnnounceController$PeerResult.class
index 32f477b..583be35 100644
--- a/target/classes/com/github/example/pt/controller/announce/AnnounceController$PeerResult.class
+++ b/target/classes/com/github/example/pt/controller/announce/AnnounceController$PeerResult.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/announce/AnnounceController.class b/target/classes/com/github/example/pt/controller/announce/AnnounceController.class
index 4c5e952..8eb41fb 100644
--- a/target/classes/com/github/example/pt/controller/announce/AnnounceController.class
+++ b/target/classes/com/github/example/pt/controller/announce/AnnounceController.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/CategoryResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/CategoryResponseDTO.class
index 0f17497..624efea 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/CategoryResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/CategoryResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/LoginStatusResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/LoginStatusResponseDTO.class
index 87095b5..696426a 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/LoginStatusResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/LoginStatusResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/PeerInfoResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/PeerInfoResponseDTO.class
index 82db9c4..4d80273 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/PeerInfoResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/PeerInfoResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/TorrentInfoResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/TorrentInfoResponseDTO.class
index 29afc9e..e88bb8e 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/TorrentInfoResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/TorrentInfoResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/TransferHistoryDTO.class b/target/classes/com/github/example/pt/controller/dto/response/TransferHistoryDTO.class
index fc8a3ab..c69cdb8 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/TransferHistoryDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/TransferHistoryDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/UserBasicResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/UserBasicResponseDTO.class
index 0c433f2..e4ca5dd 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/UserBasicResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/UserBasicResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/UserGroupResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/UserGroupResponseDTO.class
index 24b37b8..8938bd6 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/UserGroupResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/UserGroupResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/UserResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/UserResponseDTO.class
index 72232d0..65d7ea3 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/UserResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/UserResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/UserSessionResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/UserSessionResponseDTO.class
index 62d76fb..108bc97 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/UserSessionResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/UserSessionResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/dto/response/UserTinyResponseDTO.class b/target/classes/com/github/example/pt/controller/dto/response/UserTinyResponseDTO.class
index a928092..2c8542c 100644
--- a/target/classes/com/github/example/pt/controller/dto/response/UserTinyResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/dto/response/UserTinyResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/TorrentController.class b/target/classes/com/github/example/pt/controller/torrent/TorrentController.class
index 77f8437..66e713e 100644
--- a/target/classes/com/github/example/pt/controller/torrent/TorrentController.class
+++ b/target/classes/com/github/example/pt/controller/torrent/TorrentController.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/dto/request/SearchTorrentRequestDTO.class b/target/classes/com/github/example/pt/controller/torrent/dto/request/SearchTorrentRequestDTO.class
index c859017..b258072 100644
--- a/target/classes/com/github/example/pt/controller/torrent/dto/request/SearchTorrentRequestDTO.class
+++ b/target/classes/com/github/example/pt/controller/torrent/dto/request/SearchTorrentRequestDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/dto/request/ThanksResponseDTO.class b/target/classes/com/github/example/pt/controller/torrent/dto/request/ThanksResponseDTO.class
index cb052d5..c422e4f 100644
--- a/target/classes/com/github/example/pt/controller/torrent/dto/request/ThanksResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/torrent/dto/request/ThanksResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/dto/request/TorrentScrapeRequestDTO.class b/target/classes/com/github/example/pt/controller/torrent/dto/request/TorrentScrapeRequestDTO.class
index 1becb2d..9a75417 100644
--- a/target/classes/com/github/example/pt/controller/torrent/dto/request/TorrentScrapeRequestDTO.class
+++ b/target/classes/com/github/example/pt/controller/torrent/dto/request/TorrentScrapeRequestDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentScrapeResponseDTO.class b/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentScrapeResponseDTO.class
index 72ca36f..281050e 100644
--- a/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentScrapeResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentScrapeResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentSearchResultResponseDTO.class b/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentSearchResultResponseDTO.class
index c9e38fc..37f8eac 100644
--- a/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentSearchResultResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentSearchResultResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentUploadSuccessResponseDTO.class b/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentUploadSuccessResponseDTO.class
index 2f33bef..df5d002 100644
--- a/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentUploadSuccessResponseDTO.class
+++ b/target/classes/com/github/example/pt/controller/torrent/dto/response/TorrentUploadSuccessResponseDTO.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/controller/torrent/form/TorrentUploadForm.class b/target/classes/com/github/example/pt/controller/torrent/form/TorrentUploadForm.class
index c545ae5..eec863c 100644
--- a/target/classes/com/github/example/pt/controller/torrent/form/TorrentUploadForm.class
+++ b/target/classes/com/github/example/pt/controller/torrent/form/TorrentUploadForm.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/crontask/PeersCleanup.class b/target/classes/com/github/example/pt/crontask/PeersCleanup.class
index c80d93a..924eda1 100644
--- a/target/classes/com/github/example/pt/crontask/PeersCleanup.class
+++ b/target/classes/com/github/example/pt/crontask/PeersCleanup.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/Exam.class b/target/classes/com/github/example/pt/entity/Exam.class
index 8473aba..131d382 100644
--- a/target/classes/com/github/example/pt/entity/Exam.class
+++ b/target/classes/com/github/example/pt/entity/Exam.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/LoginHistory.class b/target/classes/com/github/example/pt/entity/LoginHistory.class
index 0f6212a..8fc3721 100644
--- a/target/classes/com/github/example/pt/entity/LoginHistory.class
+++ b/target/classes/com/github/example/pt/entity/LoginHistory.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/Peer.class b/target/classes/com/github/example/pt/entity/Peer.class
index 3629440..181dbac 100644
--- a/target/classes/com/github/example/pt/entity/Peer.class
+++ b/target/classes/com/github/example/pt/entity/Peer.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/SeedBox.class b/target/classes/com/github/example/pt/entity/SeedBox.class
index 2f3ffe9..763691c 100644
--- a/target/classes/com/github/example/pt/entity/SeedBox.class
+++ b/target/classes/com/github/example/pt/entity/SeedBox.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/Thanks.class b/target/classes/com/github/example/pt/entity/Thanks.class
index 96c6e4b..95f9020 100644
--- a/target/classes/com/github/example/pt/entity/Thanks.class
+++ b/target/classes/com/github/example/pt/entity/Thanks.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/Torrent.class b/target/classes/com/github/example/pt/entity/Torrent.class
index 3941ca1..b5cab29 100644
--- a/target/classes/com/github/example/pt/entity/Torrent.class
+++ b/target/classes/com/github/example/pt/entity/Torrent.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/TransferHistory.class b/target/classes/com/github/example/pt/entity/TransferHistory.class
index 82ef10c..5b7f155 100644
--- a/target/classes/com/github/example/pt/entity/TransferHistory.class
+++ b/target/classes/com/github/example/pt/entity/TransferHistory.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/User.class b/target/classes/com/github/example/pt/entity/User.class
index 4a30cc3..6748056 100644
--- a/target/classes/com/github/example/pt/entity/User.class
+++ b/target/classes/com/github/example/pt/entity/User.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/entity/UserGroup.class b/target/classes/com/github/example/pt/entity/UserGroup.class
index 1b814cb..6e79055 100644
--- a/target/classes/com/github/example/pt/entity/UserGroup.class
+++ b/target/classes/com/github/example/pt/entity/UserGroup.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/exception/APIGenericException.class b/target/classes/com/github/example/pt/exception/APIGenericException.class
index 79847d4..e2856b8 100644
--- a/target/classes/com/github/example/pt/exception/APIGenericException.class
+++ b/target/classes/com/github/example/pt/exception/APIGenericException.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/exception/FixedAnnounceException.class b/target/classes/com/github/example/pt/exception/FixedAnnounceException.class
index 1b8ab5f..33c9e79 100644
--- a/target/classes/com/github/example/pt/exception/FixedAnnounceException.class
+++ b/target/classes/com/github/example/pt/exception/FixedAnnounceException.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/exception/InvalidAnnounceException.class b/target/classes/com/github/example/pt/exception/InvalidAnnounceException.class
index 0d147b2..8e8a69a 100644
--- a/target/classes/com/github/example/pt/exception/InvalidAnnounceException.class
+++ b/target/classes/com/github/example/pt/exception/InvalidAnnounceException.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/exception/InvalidTorrentVerifyException.class b/target/classes/com/github/example/pt/exception/InvalidTorrentVerifyException.class
index e8f45d2..277775f 100644
--- a/target/classes/com/github/example/pt/exception/InvalidTorrentVerifyException.class
+++ b/target/classes/com/github/example/pt/exception/InvalidTorrentVerifyException.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/exception/RetryableAnnounceException.class b/target/classes/com/github/example/pt/exception/RetryableAnnounceException.class
index c64c060..651b6e2 100644
--- a/target/classes/com/github/example/pt/exception/RetryableAnnounceException.class
+++ b/target/classes/com/github/example/pt/exception/RetryableAnnounceException.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/AnnounceService$AnnounceTask.class b/target/classes/com/github/example/pt/service/AnnounceService$AnnounceTask.class
index 207d093..494f332 100644
--- a/target/classes/com/github/example/pt/service/AnnounceService$AnnounceTask.class
+++ b/target/classes/com/github/example/pt/service/AnnounceService$AnnounceTask.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/AnnounceService.class b/target/classes/com/github/example/pt/service/AnnounceService.class
index 3c611bc..27f7b61 100644
--- a/target/classes/com/github/example/pt/service/AnnounceService.class
+++ b/target/classes/com/github/example/pt/service/AnnounceService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/AuthenticationService.class b/target/classes/com/github/example/pt/service/AuthenticationService.class
index deaef28..4a351a3 100644
--- a/target/classes/com/github/example/pt/service/AuthenticationService.class
+++ b/target/classes/com/github/example/pt/service/AuthenticationService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/BlacklistClientService.class b/target/classes/com/github/example/pt/service/BlacklistClientService.class
index 8514c94..b556e73 100644
--- a/target/classes/com/github/example/pt/service/BlacklistClientService.class
+++ b/target/classes/com/github/example/pt/service/BlacklistClientService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/CategoryService.class b/target/classes/com/github/example/pt/service/CategoryService.class
index 78f5266..97acbe7 100644
--- a/target/classes/com/github/example/pt/service/CategoryService.class
+++ b/target/classes/com/github/example/pt/service/CategoryService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/ExamPlanService.class b/target/classes/com/github/example/pt/service/ExamPlanService.class
index f7dc083..4bed8bb 100644
--- a/target/classes/com/github/example/pt/service/ExamPlanService.class
+++ b/target/classes/com/github/example/pt/service/ExamPlanService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/LoginHistoryService.class b/target/classes/com/github/example/pt/service/LoginHistoryService.class
index d2cee3d..afb141f 100644
--- a/target/classes/com/github/example/pt/service/LoginHistoryService.class
+++ b/target/classes/com/github/example/pt/service/LoginHistoryService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/PeerService.class b/target/classes/com/github/example/pt/service/PeerService.class
index 40e8fa7..7c87eb8 100644
--- a/target/classes/com/github/example/pt/service/PeerService.class
+++ b/target/classes/com/github/example/pt/service/PeerService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/PermissionService.class b/target/classes/com/github/example/pt/service/PermissionService.class
index a7d6823..f538c86 100644
--- a/target/classes/com/github/example/pt/service/PermissionService.class
+++ b/target/classes/com/github/example/pt/service/PermissionService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/PromotionService.class b/target/classes/com/github/example/pt/service/PromotionService.class
index 512f454..c88ae88 100644
--- a/target/classes/com/github/example/pt/service/PromotionService.class
+++ b/target/classes/com/github/example/pt/service/PromotionService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/SettingService.class b/target/classes/com/github/example/pt/service/SettingService.class
index 62595e4..60dfe1d 100644
--- a/target/classes/com/github/example/pt/service/SettingService.class
+++ b/target/classes/com/github/example/pt/service/SettingService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/TagService.class b/target/classes/com/github/example/pt/service/TagService.class
index 251ab50..bc48eaf 100644
--- a/target/classes/com/github/example/pt/service/TagService.class
+++ b/target/classes/com/github/example/pt/service/TagService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/TorrentService.class b/target/classes/com/github/example/pt/service/TorrentService.class
index 2a51300..1af41ad 100644
--- a/target/classes/com/github/example/pt/service/TorrentService.class
+++ b/target/classes/com/github/example/pt/service/TorrentService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/TransferHistoryService.class b/target/classes/com/github/example/pt/service/TransferHistoryService.class
index 08df053..0c05ee7 100644
--- a/target/classes/com/github/example/pt/service/TransferHistoryService.class
+++ b/target/classes/com/github/example/pt/service/TransferHistoryService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/UserGroupService.class b/target/classes/com/github/example/pt/service/UserGroupService.class
index 60d996c..c2b5b77 100644
--- a/target/classes/com/github/example/pt/service/UserGroupService.class
+++ b/target/classes/com/github/example/pt/service/UserGroupService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/service/UserService.class b/target/classes/com/github/example/pt/service/UserService.class
index a43dfaf..2115370 100644
--- a/target/classes/com/github/example/pt/service/UserService.class
+++ b/target/classes/com/github/example/pt/service/UserService.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/type/AnnounceEventType.class b/target/classes/com/github/example/pt/type/AnnounceEventType.class
index 62dd62e..1e8df5e 100644
--- a/target/classes/com/github/example/pt/type/AnnounceEventType.class
+++ b/target/classes/com/github/example/pt/type/AnnounceEventType.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/util/IPUtil.class b/target/classes/com/github/example/pt/util/IPUtil.class
index dab2236..a68be73 100644
--- a/target/classes/com/github/example/pt/util/IPUtil.class
+++ b/target/classes/com/github/example/pt/util/IPUtil.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/util/InfoHashUtil.class b/target/classes/com/github/example/pt/util/InfoHashUtil.class
index b18f975..916c74d 100644
--- a/target/classes/com/github/example/pt/util/InfoHashUtil.class
+++ b/target/classes/com/github/example/pt/util/InfoHashUtil.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/util/PasswordHash.class b/target/classes/com/github/example/pt/util/PasswordHash.class
index 4a8d67a..5443baf 100644
--- a/target/classes/com/github/example/pt/util/PasswordHash.class
+++ b/target/classes/com/github/example/pt/util/PasswordHash.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/util/RandomUtil.class b/target/classes/com/github/example/pt/util/RandomUtil.class
index 969ad27..b6ac3fe 100644
--- a/target/classes/com/github/example/pt/util/RandomUtil.class
+++ b/target/classes/com/github/example/pt/util/RandomUtil.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/util/SafeUUID.class b/target/classes/com/github/example/pt/util/SafeUUID.class
index a070c31..a20c7c6 100644
--- a/target/classes/com/github/example/pt/util/SafeUUID.class
+++ b/target/classes/com/github/example/pt/util/SafeUUID.class
Binary files differ
diff --git a/target/classes/com/github/example/pt/util/TorrentParser.class b/target/classes/com/github/example/pt/util/TorrentParser.class
index 4cb7ca9..33dfca4 100644
--- a/target/classes/com/github/example/pt/util/TorrentParser.class
+++ b/target/classes/com/github/example/pt/util/TorrentParser.class
Binary files differ
diff --git a/target/classes/keys/public_key.pem b/target/classes/keys/public_key.pem
new file mode 100644
index 0000000..ad6caf3
--- /dev/null
+++ b/target/classes/keys/public_key.pem
@@ -0,0 +1,9 @@
+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvmP7+8H57acddGi/wl9b
+6IpeLZHzabpiRKX1Hv+Q5lyM16qQ5Std3Vxx30jOAAHHzObiiCBx5ifwuX/3GW0s
++eK3KDF36bqJiDlHG7Og6BEj2V2e4k+SHBpbg7j3Owfg7fIFK8yfzntg6tgS+hhd
+SeNd7pAGBdvaWxfMcDCs1SdhthcKb77KsgglCH91zYFgmP2Ih3elCQr0XDyhr3TX
+ZsoMoOrWeOks04Ko6FcDRJiG8yc0U8mqVWQLk8i2AAlJa1Rc/WKVuQRNsjHs7B5M
+0UaIoOfuDiaVDWaI0sP14ZgAOu53xcAg/RA7+5Trs44i6E8K9VrWKFBGfh2VG4nQ
+VQIDAQAB
+-----END PUBLIC KEY-----