cosmocode / dokuwiki-plugin-encryptedpasswords

Store 256 bit AES encrypted text in your DokuWiki pages. by Wolfgang Reszel
https://www.dokuwiki.org/plugin:encryptedpasswords
GNU General Public License v2.0
1 stars 6 forks source link

Fix copy to clipboard on Safari #17

Open dregad opened 7 months ago

dregad commented 7 months ago

navigator.clipboard.write() can't be used in async context in Safari.

Using a ClipboardItem object to handle the passphrase entry and cipher decryption as a workaround

This does not properly handle

This is NOT TESTED on Firefox/Chrome.

Fixes #2