当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Encrypted attachments cannot be opened or saved as decrypted files

  • 2 件の返信
  • 1 人がこの問題に困っています
  • 19 回表示
  • 最後の返信者: Michael

more options

Name Thunderbird Version 78.4.1 Build ID 20201104231226 on Win 10

When I try to "decrypt and open" a pgp encrypted mail attachment, nothing happens. Using "decrypt and save as ..." opens the directory selector but no file is saved.

Running Thunderbird with -jsconsole provides the following error messages:

CryptoAPI.sync() failed result: Error: Not implemented

   getFileName chrome://openpgp/content/modules/cryptoAPI/RNPCryptoAPI.jsm:179
   getFileName chrome://openpgp/content/modules/attachment.jsm:18
   decryptAttachmentCallback chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2732
   f chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2675
   onStopRequest chrome://openpgp/content/modules/streams.jsm:78
   callbackWrapper chrome://openpgp/content/modules/timer.jsm:30
   notify resource://gre/modules/Timer.jsm:62

interface.js:46:17 CryptoAPI.sync() failed result: Error: Not implemented

   decryptAttachment chrome://openpgp/content/modules/cryptoAPI/RNPCryptoAPI.jsm:209
   decryptAttachment chrome://openpgp/content/modules/decryption.jsm:630
   decryptAttachmentCallback chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2828
   f chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2675
   onStopRequest chrome://openpgp/content/modules/streams.jsm:78
   callbackWrapper chrome://openpgp/content/modules/timer.jsm:30
   notify resource://gre/modules/Timer.jsm:62

interface.js:46:17 Uncaught (in promise) TypeError: result.stdoutData is undefined

   decryptAttachment chrome://openpgp/content/modules/decryption.jsm:634
   decryptAttachmentCallback chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2828
   f chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2675
   onStopRequest chrome://openpgp/content/modules/streams.jsm:78
   callbackWrapper chrome://openpgp/content/modules/timer.jsm:30
   notify resource://gre/modules/Timer.jsm:62
Name Thunderbird Version 78.4.1 Build ID 20201104231226 on Win 10 When I try to "decrypt and open" a pgp encrypted mail attachment, nothing happens. Using "decrypt and save as ..." opens the directory selector but no file is saved. Running Thunderbird with -jsconsole provides the following error messages: CryptoAPI.sync() failed result: Error: Not implemented getFileName chrome://openpgp/content/modules/cryptoAPI/RNPCryptoAPI.jsm:179 getFileName chrome://openpgp/content/modules/attachment.jsm:18 decryptAttachmentCallback chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2732 f chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2675 onStopRequest chrome://openpgp/content/modules/streams.jsm:78 callbackWrapper chrome://openpgp/content/modules/timer.jsm:30 notify resource://gre/modules/Timer.jsm:62 interface.js:46:17 CryptoAPI.sync() failed result: Error: Not implemented decryptAttachment chrome://openpgp/content/modules/cryptoAPI/RNPCryptoAPI.jsm:209 decryptAttachment chrome://openpgp/content/modules/decryption.jsm:630 decryptAttachmentCallback chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2828 f chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2675 onStopRequest chrome://openpgp/content/modules/streams.jsm:78 callbackWrapper chrome://openpgp/content/modules/timer.jsm:30 notify resource://gre/modules/Timer.jsm:62 interface.js:46:17 Uncaught (in promise) TypeError: result.stdoutData is undefined decryptAttachment chrome://openpgp/content/modules/decryption.jsm:634 decryptAttachmentCallback chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2828 f chrome://openpgp/content/ui/enigmailMessengerOverlay.js:2675 onStopRequest chrome://openpgp/content/modules/streams.jsm:78 callbackWrapper chrome://openpgp/content/modules/timer.jsm:30 notify resource://gre/modules/Timer.jsm:62

すべての返信 (2)

more options

Digging in a bit deeper ... seems like this feature is not implemented yet? RNPCryptoAPI.jsm:

 /**
  *
  * @param {byte} byteData    The encrypted data
  *
  * @return {String or null} - the name of the attached file
  */
 async getFileName(byteData) {
   throw new Error("Not implemented");
 }
 /**
  *
  * @param {Bytes}  encrypted     The encrypted data
  *
  * @return {Promise<Object>} - Return object with decryptedData and
  * status information
  *
  * Use Promise.catch to handle failed decryption.
  * retObj.errorMsg will be an error message in this case.
  */
 async decryptAttachment(encrypted) {
   throw new Error("Not implemented");
 }
more options

Checking again with Thunderbird 78.6.0 (64-bit) Release notes states: "fixed OpenPGP: Encrypted attachment "Decrypt and Open/Save As" did not work"

But I still can't decrypt attachments, getting an error message.

Console logs "bad message, missing MDC" decryption.jsm:526:15

 getPlaintextFromDecryptResult(result) {
   if (result.statusFlags & EnigmailConstants.MISSING_MDC) {
     console.log("bad message, missing MDC");

この投稿は Michael により に変更されました