keys-pub / app

Key management is hard

Home Page:https://keys.pub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GUI Performance issue with decrypting large encrypted armored files

grempe opened this issue · comments

Decrypting a large armored encrypted file using the CLI is fast.

CLI 233 ms

❯ ls -la testing.jpg.enc
-rw-r--r--@ 1 glenn  staff  166221 Jul 31 12:08 testing.jpg.enc

❯ time keys decrypt -in testing.jpg.enc -out foo.jpg
file already exists /Users/glenn/Desktop/foo.jpg
keys decrypt -in testing.jpg.enc -out foo.jpg  0.11s user 0.06s system 74% cpu 0.233 total

However, pasting that same file into the GUI decrypt text field takes approximately 5 seconds for decryption to happen and any output to show in the output field.