Update path for certificates
Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ func AsLogin(ctx *gin.Context) {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
randomBytes := encrypt.RSA_DecryptOAEP(mask64, "privatekey.pem")
|
||||
randomBytes := encrypt.RSA_DecryptOAEP(mask64)
|
||||
// fmt.Println("Random Bytes:", randomBytes)
|
||||
|
||||
newKey := utils.SliceXor(randomBytes, []byte(sessionKey))
|
||||
|
||||
Reference in New Issue
Block a user