Bug 1615382 Comment 14 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

FWIW, I was able to get a reproducer with a profile created in Fx57 (with one test password). We are still investigating, but a failure appears at: 

```
* thread #109, name = 'StreamTrans #19', stop reason = step over
    frame #0: 0x0000000101352d39 libnss3.dylib`PK11SDR_Decrypt(data=0x000070000459df90, result=0x000070000459df78, cx=0x000000013f930f20) at pk11sdr.c:365:12
   362 	    type = CKM_DES3_CBC;
   363 	    key = PK11_FindFixedKey(slot, type, &sdrResult.keyid, cx);
   364 	    if (!key) {
-> 365 	        rv = SECFailure;
   366 	    } else {
   367 	        rv = pk11Decrypt(slot, arena, type, key, params,
   368 	                         &sdrResult.data, result);
Target 0: (firefox) stopped.
(lldb) bt
* thread #109, name = 'StreamTrans #19', stop reason = step over
  * frame #0: 0x0000000101352d39 libnss3.dylib`PK11SDR_Decrypt(data=0x000070000459df90, result=0x000070000459df78, cx=0x000000013f930f20) at pk11sdr.c:365:12
    frame #1: 0x000000010b006591 XUL`SecretDecoderRing::Decrypt(this=0x000000017af2ce20, data=0x000070000459e010, result=0x000070000459e140) at SecretDecoderRing.cpp:164:7
    frame #2: 0x000000010b006de4 XUL`SecretDecoderRing::DecryptString(this=0x000000017af2ce20, encryptedBase64Text=0x0000000143db8498, decryptedText=0x000070000459e140) at SecretDecoderRing.cpp:237:8
    frame #3: 0x000000010b005c5e XUL`BackgroundSdrDecryptStrings(encryptedStrings=0x0000000143ef28f0, aPromise=0x0000000143ef28e8) at SecretDecoderRing.cpp:75:22
    frame #4: 0x000000010b040ce5 XUL`SecretDecoderRing::AsyncDecryptStrings(this=0x0000000143ef28e8)::$_3::operator()() at SecretDecoderRing.cpp:268:9
    frame #5: 0x000000010b040bfe XUL`mozilla::detail::RunnableFunction<SecretDecoderRing::AsyncDecryptStrings(nsTArray<nsTString<char> > const&, JSContext*, mozilla::dom::Promise**)::$_3>::Run(this=0x0000000143ef28c0) at nsThreadUtils.h:559:5
    frame #6: 0x00000001018da0d7 XUL`nsThreadPool::Run(this=0x00000001322808d0) at nsThreadPool.cpp:299:14
    frame #7: 0x00000001018cfc50 XUL`nsThread::ProcessNextEvent(this=0x0000000132294780, aMayWait=true, aResult=0x000070000459ebaf) at nsThread.cpp:1220:14
    frame #8: 0x00000001018d7249 XUL`NS_ProcessNextEvent(aThread=0x0000000132294780, aMayWait=true) at nsThreadUtils.cpp:481:10
    frame #9: 0x0000000102824311 XUL`mozilla::ipc::MessagePumpForNonMainThreads::Run(this=0x0000000134196fc0, aDelegate=0x000070000459edd0) at MessagePump.cpp:332:5
    frame #10: 0x00000001026f9108 XUL`MessageLoop::RunInternal(this=0x000070000459edd0) at message_loop.cc:315:10
    frame #11: 0x00000001026f9065 XUL`MessageLoop::RunHandler(this=0x000070000459edd0) at message_loop.cc:308:3
    frame #12: 0x00000001026f8fe8 XUL`MessageLoop::Run(this=0x000070000459edd0) at message_loop.cc:290:3
    frame #13: 0x00000001018cb4d8 XUL`nsThread::ThreadFunc(aArg=0x00007ffeefbfb658) at nsThread.cpp:464:10
    frame #14: 0x00000001012b5f24 libnss3.dylib`_pt_root(arg=0x0000000143a0aec0) at ptthread.c:201:5
    frame #15: 0x00007fff6b9b6d36 libsystem_pthread.dylib`_pthread_start + 125
    frame #16: 0x00007fff6b9b358f libsystem_pthread.dylib`thread_start + 15
```

`JavaScript error: resource://gre/modules/crypto-SDR.js, line 200: NS_ERROR_FAILURE: Couldn't decrypt string`
FWIW, I was able to get a reproducer with a profile created in Fx57 (with one test password). We are still investigating, but a failure appears at: 

```
* thread #109, name = 'StreamTrans #19', stop reason = step over
    frame #0: 0x0000000101352d39 libnss3.dylib`PK11SDR_Decrypt(data=0x000070000459df90, result=0x000070000459df78, cx=0x000000013f930f20) at pk11sdr.c:365:12
   362 	    type = CKM_DES3_CBC;
   363 	    key = PK11_FindFixedKey(slot, type, &sdrResult.keyid, cx);
   364 	    if (!key) {
-> 365 	        rv = SECFailure;
   366 	    } else {
   367 	        rv = pk11Decrypt(slot, arena, type, key, params,
   368 	                         &sdrResult.data, result);
Target 0: (firefox) stopped.
(lldb) bt
* thread #109, name = 'StreamTrans #19', stop reason = step over
  * frame #0: 0x0000000101352d39 libnss3.dylib`PK11SDR_Decrypt(data=0x000070000459df90, result=0x000070000459df78, cx=0x000000013f930f20) at pk11sdr.c:365:12
    frame #1: 0x000000010b006591 XUL`SecretDecoderRing::Decrypt(this=0x000000017af2ce20, data=0x000070000459e010, result=0x000070000459e140) at SecretDecoderRing.cpp:164:7
    frame #2: 0x000000010b006de4 XUL`SecretDecoderRing::DecryptString(this=0x000000017af2ce20, encryptedBase64Text=0x0000000143db8498, decryptedText=0x000070000459e140) at SecretDecoderRing.cpp:237:8
    frame #3: 0x000000010b005c5e XUL`BackgroundSdrDecryptStrings(encryptedStrings=0x0000000143ef28f0, aPromise=0x0000000143ef28e8) at SecretDecoderRing.cpp:75:22
    frame #4: 0x000000010b040ce5 XUL`SecretDecoderRing::AsyncDecryptStrings(this=0x0000000143ef28e8)::$_3::operator()() at SecretDecoderRing.cpp:268:9
    frame #5: 0x000000010b040bfe XUL`mozilla::detail::RunnableFunction<SecretDecoderRing::AsyncDecryptStrings(nsTArray<nsTString<char> > const&, JSContext*, mozilla::dom::Promise**)::$_3>::Run(this=0x0000000143ef28c0) at nsThreadUtils.h:559:5
    frame #6: 0x00000001018da0d7 XUL`nsThreadPool::Run(this=0x00000001322808d0) at nsThreadPool.cpp:299:14
    frame #7: 0x00000001018cfc50 XUL`nsThread::ProcessNextEvent(this=0x0000000132294780, aMayWait=true, aResult=0x000070000459ebaf) at nsThread.cpp:1220:14
    frame #8: 0x00000001018d7249 XUL`NS_ProcessNextEvent(aThread=0x0000000132294780, aMayWait=true) at nsThreadUtils.cpp:481:10
    frame #9: 0x0000000102824311 XUL`mozilla::ipc::MessagePumpForNonMainThreads::Run(this=0x0000000134196fc0, aDelegate=0x000070000459edd0) at MessagePump.cpp:332:5
    frame #10: 0x00000001026f9108 XUL`MessageLoop::RunInternal(this=0x000070000459edd0) at message_loop.cc:315:10
    frame #11: 0x00000001026f9065 XUL`MessageLoop::RunHandler(this=0x000070000459edd0) at message_loop.cc:308:3
    frame #12: 0x00000001026f8fe8 XUL`MessageLoop::Run(this=0x000070000459edd0) at message_loop.cc:290:3
    frame #13: 0x00000001018cb4d8 XUL`nsThread::ThreadFunc(aArg=0x00007ffeefbfb658) at nsThread.cpp:464:10
    frame #14: 0x00000001012b5f24 libnss3.dylib`_pt_root(arg=0x0000000143a0aec0) at ptthread.c:201:5
    frame #15: 0x00007fff6b9b6d36 libsystem_pthread.dylib`_pthread_start + 125
    frame #16: 0x00007fff6b9b358f libsystem_pthread.dylib`thread_start + 15
```

`JavaScript error: resource://gre/modules/crypto-SDR.js, line 200: NS_ERROR_FAILURE: Couldn't decrypt string`

Could one of the reporters please open Tools > Web Developer > Browser Console, and check if that last message from `crypto-SDR.js` appears? there?
FWIW, I was able to get a reproducer with a profile created in Fx57 (with one test password). We are still investigating, but a failure appears at: 

```
* thread #109, name = 'StreamTrans #19', stop reason = step over
    frame #0: 0x0000000101352d39 libnss3.dylib`PK11SDR_Decrypt(data=0x000070000459df90, result=0x000070000459df78, cx=0x000000013f930f20) at pk11sdr.c:365:12
   362 	    type = CKM_DES3_CBC;
   363 	    key = PK11_FindFixedKey(slot, type, &sdrResult.keyid, cx);
   364 	    if (!key) {
-> 365 	        rv = SECFailure;
   366 	    } else {
   367 	        rv = pk11Decrypt(slot, arena, type, key, params,
   368 	                         &sdrResult.data, result);
Target 0: (firefox) stopped.
(lldb) bt
* thread #109, name = 'StreamTrans #19', stop reason = step over
  * frame #0: 0x0000000101352d39 libnss3.dylib`PK11SDR_Decrypt(data=0x000070000459df90, result=0x000070000459df78, cx=0x000000013f930f20) at pk11sdr.c:365:12
    frame #1: 0x000000010b006591 XUL`SecretDecoderRing::Decrypt(this=0x000000017af2ce20, data=0x000070000459e010, result=0x000070000459e140) at SecretDecoderRing.cpp:164:7
    frame #2: 0x000000010b006de4 XUL`SecretDecoderRing::DecryptString(this=0x000000017af2ce20, encryptedBase64Text=0x0000000143db8498, decryptedText=0x000070000459e140) at SecretDecoderRing.cpp:237:8
    frame #3: 0x000000010b005c5e XUL`BackgroundSdrDecryptStrings(encryptedStrings=0x0000000143ef28f0, aPromise=0x0000000143ef28e8) at SecretDecoderRing.cpp:75:22
    frame #4: 0x000000010b040ce5 XUL`SecretDecoderRing::AsyncDecryptStrings(this=0x0000000143ef28e8)::$_3::operator()() at SecretDecoderRing.cpp:268:9
    frame #5: 0x000000010b040bfe XUL`mozilla::detail::RunnableFunction<SecretDecoderRing::AsyncDecryptStrings(nsTArray<nsTString<char> > const&, JSContext*, mozilla::dom::Promise**)::$_3>::Run(this=0x0000000143ef28c0) at nsThreadUtils.h:559:5
    frame #6: 0x00000001018da0d7 XUL`nsThreadPool::Run(this=0x00000001322808d0) at nsThreadPool.cpp:299:14
    frame #7: 0x00000001018cfc50 XUL`nsThread::ProcessNextEvent(this=0x0000000132294780, aMayWait=true, aResult=0x000070000459ebaf) at nsThread.cpp:1220:14
    frame #8: 0x00000001018d7249 XUL`NS_ProcessNextEvent(aThread=0x0000000132294780, aMayWait=true) at nsThreadUtils.cpp:481:10
    frame #9: 0x0000000102824311 XUL`mozilla::ipc::MessagePumpForNonMainThreads::Run(this=0x0000000134196fc0, aDelegate=0x000070000459edd0) at MessagePump.cpp:332:5
    frame #10: 0x00000001026f9108 XUL`MessageLoop::RunInternal(this=0x000070000459edd0) at message_loop.cc:315:10
    frame #11: 0x00000001026f9065 XUL`MessageLoop::RunHandler(this=0x000070000459edd0) at message_loop.cc:308:3
    frame #12: 0x00000001026f8fe8 XUL`MessageLoop::Run(this=0x000070000459edd0) at message_loop.cc:290:3
    frame #13: 0x00000001018cb4d8 XUL`nsThread::ThreadFunc(aArg=0x00007ffeefbfb658) at nsThread.cpp:464:10
    frame #14: 0x00000001012b5f24 libnss3.dylib`_pt_root(arg=0x0000000143a0aec0) at ptthread.c:201:5
    frame #15: 0x00007fff6b9b6d36 libsystem_pthread.dylib`_pthread_start + 125
    frame #16: 0x00007fff6b9b358f libsystem_pthread.dylib`thread_start + 15
```

`JavaScript error: resource://gre/modules/crypto-SDR.js, line 200: NS_ERROR_FAILURE: Couldn't decrypt string`

Could one of the reporters please open Tools > Web Developer > Browser Console, and check if that last message from `crypto-SDR.js` appears?

Back to Bug 1615382 Comment 14