Our website has a button to copy password value into buffer.
We store password value encrypted in the dom, decrypt the value onclick using window.crypto.subtle.decrypt() and copy into the buffer with document.execCommand('copy').
While this works fine in Chrome and FF, it fails in Safari.
I think, this is related to some security checks in Safari specific execCommand implementation.
Is there a way around it?