You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When encrypting string with generated/imported keys, this userscript run in Firefox tampermonkey crashes with error
Error: Error encrypting message: Could not
find valid key packet for signing in key d713ea674b8e4752
suggesting that the key is expired, even if the key is newly generated.
However, the same code run in client code works alright. (see this jsfiddle)
I have also tested it in Chrome tampermonkey and the script runs ok. Probably a bug?
The text was updated successfully, but these errors were encountered:
window.Symbol doesn't seem to be available in tampermonkey userscripts. If you set window.Symbol = unsafeWindow.Symbolbefore you load openpgp.js, it works.
When encrypting string with generated/imported keys, this userscript run in Firefox tampermonkey crashes with error
suggesting that the key is expired, even if the key is newly generated.
However, the same code run in client code works alright. (see this jsfiddle)
I have also tested it in Chrome tampermonkey and the script runs ok. Probably a bug?
The text was updated successfully, but these errors were encountered: