Author

Topic: frozenkrill: a minimalist Bitcoin wallet focused on cold storage (Read 132 times)

legendary
Activity: 2212
Merit: 7064
Krill is particularly important to whales but it's also the basis of the food chain of other sea animals. Krill lives in cold waters but if you want to hodl them for a long time it's better to store them frozen  Wink
I heard about Krill, other than whales, people are also consuming them (maybe even Bitcoin whales) in a form of Omega3 pills, they say it's better quality then Omega3 from fish and it has specific red color.

frozenkrill is a CLI only, so it doesn't need a graphical system (like the X server in Unix systems) which let it run on very lean operating systems. This reduces the attack surface.
Thank you for very detailed explanation.
I know this can often be advantage for geeks and linux users, but majority of people are mostly using wallets with graphical interface.
It is good to see that you are using stronger encryption for frozenkrill wallet, but I would like to see other security experts testing it for potential bugs.
newbie
Activity: 3
Merit: 14
PBKDF2 in mnemonic algorithms such as BIP39 and Electrum is not meant to provide security, in fact 2048 rounds is an overkill itself. It is as the name suggests a key derivation function, a way to derive more than one key from the same seed phrase.
It's clear that one of the reasons given on BIP39 to allow a password is to make plausible deniability possible:
Quote
Safe BIP-39 seed generation with the option for the user to input 12/24 words (complete seed) or 11/23 words (automatically generation of the last word/checksum)
Last word is not the checksum, it contains the checksum. For example in case of a 12-word mnemonic only 4 bits out of the 11 bits of the last word is the checksum. With only having first 11 words, you'll end up with multiple possible words that would satisfy the checksum verification. In other words you can't "automatically" generate the last word.
You're technically correct, the best kind of correct Smiley

Yes, some bits will be filled randomly so we can "pick" the last word, it's not just a checksum calculation.
legendary
Activity: 3472
Merit: 10611
PBKDF2 in mnemonic algorithms such as BIP39 and Electrum is not meant to provide security, in fact 2048 rounds is an overkill itself. It is as the name suggests a key derivation function, a way to derive more than one key from the same seed phrase.

Quote
Safe BIP-39 seed generation with the option for the user to input 12/24 words (complete seed) or 11/23 words (automatically generation of the last word/checksum)
Last word is not the checksum, it contains the checksum. For example in case of a 12-word mnemonic only 4 bits out of the 11 bits of the last word is the checksum. With only having first 11 words, you'll end up with multiple possible words that would satisfy the checksum verification. In other words you can't "automatically" generate the last word.
newbie
Activity: 3
Merit: 14
If you have any questions please ask.
Welcome to bitcointalk forum!
Are you developer or contributor for frozenkrill walle, and if you are I was wondering why choosing that name for wallet?
This looks like interesting alternative for cold wallet, but whats the difference and advantage compared to using let's say Electrum wallet offline?


Yes, I'm the main author. The name is a natural one for a Rust project because we are talking about a cRUSTcean (also Rust's mascot, Ferris, is a crab) and it's also adequate in the context of Bitcoin where investors are compared to sea animals.

Krill is particularly important to whales but it's also the basis of the food chain of other sea animals. Krill lives in cold waters but if you want to hodl them for a long time it's better to store them frozen  Wink

Compared to something like electrum being used offline there are perhaps three notable differences:
1) When using frozenkrill, the generated seed is encrypted with strong cryptography because the key derivation/key stretching algorithm (argo2id) has been created to withstand brute-force attacks. Any encryption/decryption will take a lot of cpu and memory.

On the other hand electrum uses a much weaker algorithm (just a password hash AFAIK for the disk database, other wallets may use something better like scrypt, but probably with a low number of rounds/RAM requirements and still prone to GPU cracking).

Most wallets will by default show the BIP39 seed which uses PBKDF2 with just 2048 iterations if the user selected a non empty password. This is also very prone to brute-force attacks.

By default frozenkrill will never show/print the seed, never store it with a weak encryption and only let the user access it indirectly for the signing of PSBT files

In practice these algorithm differences is the difference between an attacker taking one day to crack the wallet or million years.

2) frozenkrill allows and encourages the user to use keyfiles as part of the password (see the README for more information). This is something that only exists on advanced encryption systems like TrueCrypt/VeraCrypt that have been designed with a more paranoid threat model

Note: this isn't a flaw of these other wallets. None of them has been designed to let the seed be stored "online" after it being generated offline. All of them will strongly recommend the user to store the seed offline, specially in paper/metal plates.

3) frozenkrill is a CLI only, so it doesn't need a graphical system (like the X server in Unix systems) which let it run on very lean operating systems. This reduces the attack surface.
legendary
Activity: 2212
Merit: 7064
If you have any questions please ask.
Welcome to bitcointalk forum!
Are you developer or contributor for frozenkrill walle, and if you are I was wondering why choosing that name for wallet?
This looks like interesting alternative for cold wallet, but whats the difference and advantage compared to using let's say Electrum wallet offline?
newbie
Activity: 3
Merit: 14
This is the first public release of our Bitcoin wallet focused on cold storage.

It's open-source, CLI based and written in Rust.

The goal is to provide a secure solution to generate private keys that can be stored in digital mediums (e.g cloud storage). It's an alternative to current-gen hardware wallets for some users that don't have physical security and stability.

It's beta but should work fine. All feedback is welcome.

Please visit our github page for more information: https://github.com/planktonlabs/frozenkrill

If you have any questions please ask.

https://raw.githubusercontent.com/planktonlabs/frozenkrill/master/docs/images/generate_single_interactive.gif
Jump to: