me·ta·phil, der<p>Phew! 🥳 This little <a href="https://chaos.social/tags/powershell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell</span></a> gem saved my ass today when I tried to migrate a <a href="https://chaos.social/tags/Signal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Signal</span></a> Desktop install to another Windows PC.<br>(Not a thing officially supported by <span class="h-card" translate="no"><a href="https://mastodon.world/@signalapp" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>signalapp</span></a></span>)</p><p>The database encryption key itself is device-specifically encrypted using the „Data Protection API“ (haha) <a href="https://chaos.social/tags/DPAPI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DPAPI</span></a>, so signal can't decrypt it on the new machine.</p><p>Using a legacy parameter, you can put the unencrypted key on the old machine, transfer it to the new one and have it re-encrypted.</p><p><a href="https://github.com/MatejKafka/PSSignalDecrypt" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/MatejKafka/PSSignal</span><span class="invisible">Decrypt</span></a></p>