DEV: Fix build

DEV: Fix build

diff --git a/lib/post_creator.rb b/lib/post_creator.rb
index 8995275..9b80d7b 100644
--- a/lib/post_creator.rb
+++ b/lib/post_creator.rb
@@ -48,7 +48,7 @@ class PostCreator
 
   def self.export_key(user, topic_key)
     identity = user.custom_fields['encrypt_public']
-    jwk = JSON.parse(Base64.decode64(identity[2..]))['encryptPublic']
+    jwk = JSON.parse(Base64.decode64(identity[2..-1]))['encryptPublic']
 
     n = OpenSSL::BN.new(Base64.urlsafe_decode64(jwk['n']), 2)
     e = OpenSSL::BN.new(Base64.urlsafe_decode64(jwk['e']), 2)

GitHub sha: 290744f2