sparrow icon indicating copy to clipboard operation
sparrow copied to clipboard

[Feature] Adding support for importing Samourai.txt archive to Sparrow wallet

Open 4rkad opened this issue 1 year ago • 6 comments

Many Samourai users mix in Whirpool, and after some time, they wish to use the feature "Mix to". To do this, they have to import the seed into Sparrow. Could be possible to add the feature to import the samourai.txt into Sparrow wallet, in order to avoid writing the words in the computer?

4rkad avatar Oct 28 '23 07:10 4rkad

What is the idea? You have an hot_walletA on Samourai where you are mixing. After a couple of mixes you want to Mix To a cold_wallet_B you interact with Sparrow. So you would import hot_walletA in Sparrrow to Mix To cold_walletB Either Samourai.txt is encrypted or not i do not think you are gaining extra security, as a keylogger would both sniff the password of Samourai.txt and the Seed. Both will suffer the potential problems of hot wallets. So, if i am not wrong, just type your seed ( and passhrase - if memory does still serve me - your wallet password of samourai is your passphrase)

TinF0ilHat1 avatar Nov 02 '23 12:11 TinF0ilHat1

Samourai.txt is encrypted with the passphrase. You would import the archive in Sparrow and you would decrypt with the password. At least you are not exposing your 12 words directly. Sparrow has support to import several kind of wallets, why not samourai.txt?

4rkad avatar Nov 03 '23 00:11 4rkad

Indeed, can't see any reason not to support this as an import format. @4rkad Is there any documentation on it, specifically the encryption used and format of the unencrypted data?

craigraw avatar Nov 03 '23 06:11 craigraw

Did Tdev contact to you for this issue?

4rkad avatar Feb 09 '24 16:02 4rkad

We haven't spoke about this, no - just need a link to the source for the decryption algorithm though.

craigraw avatar Feb 12 '24 09:02 craigraw

Reminder sent to Tdev.

4rkad avatar Feb 13 '24 18:02 4rkad

Implemented in d68ab40c. Sparrow now imports Samourai wallet backups via the File > Import Wallet menu.

craigraw avatar Apr 18 '24 14:04 craigraw