aboutsummaryrefslogtreecommitdiff
path: root/go.sum
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-20 23:08:01 +0700
committerShulhan <ms@kilabit.info>2023-09-20 23:08:01 +0700
commitc059dcca2a54919a1111bc1a2b286e11b4fc4d36 (patch)
treeb721a8c6a301532f746b2b064d6978b886e2203f /go.sum
parent1307df8af1926698819bc593e0aed91e57ff68d2 (diff)
downloadawwan-c059dcca2a54919a1111bc1a2b286e11b4fc4d36.tar.xz
all: replace rsa.Decrypt/EncryptOAEP with libcrypto.Decrypt/EncryptOaep
The rsa.EncryptAOEP function has a maximum message size that they can encrypt (public key size - 2*hash.Size - 2). To fix this limitation we replace them with the one in libcrypto that extend the functions to allow encrypting and decrypting a larger message.
Diffstat (limited to 'go.sum')
-rw-r--r--go.sum4
1 files changed, 2 insertions, 2 deletions
diff --git a/go.sum b/go.sum
index 3d859ee..a86e3a2 100644
--- a/go.sum
+++ b/go.sum
@@ -4,8 +4,8 @@ git.sr.ht/~shulhan/ciigo v0.10.0 h1:s1SJ3/NzBcbOLmEZ4z1Cx9Vf7ZdDIvm45b7KMCZKzEY=
git.sr.ht/~shulhan/ciigo v0.10.0/go.mod h1:cG6av+ywJZZp96F43kmLB2QWjm2hYiahbsbeTX/vlgk=
github.com/evanw/esbuild v0.17.10 h1:RMwM8ehohA6RSgWVirjnsZ+u9ttNt0gWfRLYCxUbAoc=
github.com/evanw/esbuild v0.17.10/go.mod h1:iINY06rn799hi48UqEnaQvVfZWe6W9bET78LbvN8VWk=
-github.com/shuLhan/share v0.49.2-0.20230919175205-3b7ac793264a h1:7ohg2TOplcnbhfGiIdkPb1fn3D3Qph0ZDRMOkxwM580=
-github.com/shuLhan/share v0.49.2-0.20230919175205-3b7ac793264a/go.mod h1:i5/MNWUy/B+b76J96VTNG8HLE/xZ8mVy+i0oR51y6Jc=
+github.com/shuLhan/share v0.49.2-0.20230920155045-e35459d8d13e h1:rsR3V02nrcSqx6IyZ0YEPekDcBWh3a2D4NJHJF5edXg=
+github.com/shuLhan/share v0.49.2-0.20230920155045-e35459d8d13e/go.mod h1:i5/MNWUy/B+b76J96VTNG8HLE/xZ8mVy+i0oR51y6Jc=
github.com/yuin/goldmark v1.5.4 h1:2uY/xC0roWy8IBEGLgB1ywIoEJFGmRrX21YQcvGZzjU=
github.com/yuin/goldmark v1.5.4/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yuin/goldmark-meta v1.1.0 h1:pWw+JLHGZe8Rk0EGsMVssiNb/AaPMHfSRszZeUeiOUc=