From d2183c4b477eea1852610da8c8d20fa1e14dc74d Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Fri, 28 Apr 2023 17:54:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20PrivateKey=E3=82=92=E6=96=87=E5=AD=97?= =?UTF-8?q?=E5=88=97=E3=81=AB=E3=81=99=E3=82=8B=E5=87=A6=E7=90=86=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/dev/usbharu/hideout/service/impl/UserService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/service/impl/UserService.kt b/src/main/kotlin/dev/usbharu/hideout/service/impl/UserService.kt index 560eaebf..5e0018ab 100644 --- a/src/main/kotlin/dev/usbharu/hideout/service/impl/UserService.kt +++ b/src/main/kotlin/dev/usbharu/hideout/service/impl/UserService.kt @@ -71,7 +71,7 @@ class UserService(private val userRepository: IUserRepository, private val userA outbox = "${Config.configData.url}/users/$nextId/outbox", url = "${Config.configData.url}/users/$nextId", publicKey = keyPair.public.toPem(), - privateKey = keyPair.private.toString(), + privateKey = keyPair.private.toPem(), Instant.now() ) return userRepository.save(userEntity)