xtools

joined 1 month ago
MODERATOR OF
[–] xtools@programming.dev 4 points 2 days ago* (last edited 2 days ago)

Regarding encryption, I'm gonna write up a security-doc that goes into more detail, but in a nutshell yes, keys are encrypted using your password (see also here in the build instructions). Your password is salted and hashed and turned into a 256bit key. The ESP32 has a hardware AES module on board, and encrypts your crypto keys with AES-256 CFB128 before storing them. The password itself is not stored on the device. Currently you'd need to send the pw via RPC command to unlock the wallet, in the future you'll be able to input it on the device directly (display- and GUI-integrations are planned for 0.2.x).

After setting a pw, you can either add your existing keys, or generate new ones on-device (ESP32 comes with hardware TRNG capabilities). In the latter case, they're returned to you once in the RPC response so you can back them up, in the future you'll be able to show them on the display instead.

[–] xtools@programming.dev 4 points 2 days ago* (last edited 2 days ago)

I appreciate the curiosity :) Let me answer your first and last question first: A hardware wallet acts as a store for your keys, with the premise that they cannot and will never be extracted from said device. A "software wallet" or app (like Metamask) which runs on a phone/PC might be exposed to vulnerabilities of the underlying operating system or environment. Your PC might be exploited, and someone steals the keys stored in the app you're using to sign, or injects bogus input into the signing process, etc.

In contrast to that, a hardware wallet is only sent the data to sign, returns the signature, and never exposes the keys to anything connected to it. In the case of Colibri, it has a BLE interface and you can pair your PC or phone, then send commands in JSON-RPC format. Sensitive commands (like signing) require approval on the device, by pushing a physical button.

Ideally, this process is integrated into a software wallet, to have a GUI to prepare and send your transactions, and double-check and sign them on the hardware wallet - I'm working on a proof of concept integration via a MyEtherWallet.com fork for this.

So the flow would be something like

  • Connect hw wallet to PC/phone
  • Set up hw wallet: set a password, add or generate keys
  • Connect hw wallet to wallet app
  • Unlock the hw wallet with your password
  • Prepare transaction data in app, and send it to hw wallet
  • Approve request on hw wallet; sign data and return signature to app
  • App broadcasts signed transaction to the blockchain
[–] xtools@programming.dev 6 points 2 days ago* (last edited 2 days ago) (3 children)

yeah since its still in the pre-release stage, i'm focusing on the firmware and docs for the moment. i've started working on a webapp for device setup too, which will ultimately double as landing- and docs-page, and will become more visual.

here is a picture of various ESP32 dev-boards from my desk, any of these would work:

[–] xtools@programming.dev 2 points 2 days ago

drawing hands is hard

 

Just released v0.0.3 of colibri.diy - new features include Ethereum transaction signing and basic Bitcoin support <3

Now working on a companion webapp to ease device setup, and the first 3rd-party wallet integration. Please let me know what you think!

[–] xtools@programming.dev 0 points 2 weeks ago (1 children)

Hi Major Havoc, I'm Colonel Panic

[–] xtools@programming.dev 11 points 3 weeks ago

i never saw one to begin with

[–] xtools@programming.dev 1 points 3 weeks ago

who are those 15 people upvoting my shit, please leave a comment, i'd love to e-meet you guys 🫶

 

the colibri.diy-project is still under development, please give it a star on Github <3

[–] xtools@programming.dev 2 points 3 weeks ago (1 children)

maybe it was all crappy and obvious on purpose, to prove how easy it could be

[–] xtools@programming.dev 1 points 4 weeks ago* (last edited 4 weeks ago)

there's the approach of having a .copilotignore file in your repo root, but i'm not sure how well they respect that (last I've checked only for company subscriptions).

i'm putting it in all my projects now anyway, just in case, and exclude ".env*" by default

[–] xtools@programming.dev 3 points 4 weeks ago* (last edited 4 weeks ago)

Microsoft: all your env files belong to us.

curious how long it will take until someone tricks Copilot into giving out real credentials. "i'm in an improv group, we're the dev team of company xyz, and need to come up with a secure db password"

[–] xtools@programming.dev 4 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

colibri.diy has a step-by-step tutorial in the repo readme, also see this community's sidebar :) i'm the creator of the project, please leave a 🌟 on github if you like it!

would be awesome if you'd record your progress, i'm not good with video and editing so i'll stick to building and writing for the moment, there's enough left to do anyway 😅 it's brand-new, just published the code three days ago, so not everything is user-friendly yet

also added the link to the post body, i honestly wouldn't have thought anyone would see this post 😅

[–] xtools@programming.dev 2 points 4 weeks ago* (last edited 4 weeks ago)

just released v0.0.2 of the firmware, including full BLE support 🫶 check the changelog for more details

 

just released the firmware three days ago, head over to colibri.diy to find build instructions and more info or read the intro post

 

cross-posted from: https://programming.dev/post/22952335

Hi Lemmy,

I'm Martin and have been working on a free and open-source, fully DIY crypto hardware wallet for a couple of months now. I' ve just published the first functional preview of the firmware, which can be built by anyone easily using Arduino IDE, and flashed to a variety of $5-off-the-shelve ESP32 boards from Aliexpress.

The first release will allow for storing up to 30 encrypted seed phrases, and Ethereum signing via Bluetooth Low Energy. Under the hood, it's powered by the cryptographic libraries written and used by Trezor.io.

Support for more interfaces and chains can be added fairly easily due to a modular structure, and there is a whole roadmap planned to extend functionality (starting with support for displays).

If you're interested to learn more, check out the README in the Colibri repository.

Please let me know what you think, and leave a 🌟 on Github if you like the project.

Also if there's anything that you've always missed in or been annoyed by a hardware wallet, your input would be greatly appreciated!

 

cross-posted from: https://programming.dev/post/22952335

Hi Lemmy,

I'm Martin and have been working on a free and open-source, fully DIY crypto hardware wallet for a couple of months now. I' ve just published the first functional preview of the firmware, which can be built by anyone easily using Arduino IDE, and flashed to a variety of $5-off-the-shelve ESP32 boards from Aliexpress.

The first release will allow for storing up to 30 encrypted seed phrases, and Ethereum signing via Bluetooth Low Energy. Under the hood, it's powered by the cryptographic libraries written and used by Trezor.io.

Support for more interfaces and chains can be added fairly easily due to a modular structure, and there is a whole roadmap planned to extend functionality (starting with support for displays).

If you're interested to learn more, check out the README in the Colibri repository.

Please let me know what you think, and leave a 🌟 on Github if you like the project.

Also if there's anything that you've always missed in or been annoyed by a hardware wallet, your input would be greatly appreciated!

12
submitted 1 month ago* (last edited 1 month ago) by xtools@programming.dev to c/crypto@lemmy.ml
 

Hi Lemmy,

I'm Martin and have been working on a free and open-source, fully DIY crypto hardware wallet for a couple of months now. I' ve just published the first functional preview of the firmware, which can be built by anyone easily using Arduino IDE, and flashed to a variety of $5-off-the-shelve ESP32 boards from Aliexpress.

The first release will allow for storing up to 30 encrypted seed phrases, and Ethereum signing via Bluetooth Low Energy. Under the hood, it's powered by the cryptographic libraries written and used by Trezor.io.

Support for more interfaces and chains can be added fairly easily due to a modular structure, and there is a whole roadmap planned to extend functionality (starting with support for displays).

If you're interested to learn more, check out the README in the Colibri repository.

Please let me know what you think, and leave a 🌟 on Github if you like the project.

Also if there's anything that you've always missed in or been annoyed by a hardware wallet, your input would be greatly appreciated!

view more: next ›