Title: Krux DIY Hardware Wallet (Unofficial) Post by: dkbit98 on July 24, 2021, 08:31:02 AM https://i.imgur.com/MVTAG0R.png
Krux wallet is turning any M5StickV device into an airgapped hardware wallet. I knew before that M5Sticks are great for making DIY wallets like this but just now I noticed model M5StickV that is great because it has built in camera and battery, and there is no WiFi or Bluetooth connection. It is fully Open Source, written in MicroPython and it is using QR codes for communication with other devices. This is still fully functional wallet but it is still in alpha testing so please report any bugs you notice to developer or his Krux github page. Krux wallet is not generating seed words so this should be done manually offline and you can import them yourself or with QR code. Shopping list: - M5StickV (https://shop.m5stack.com/products/stickv) ~ $30 - $50 (included with screen, camera, buttons and battery) - MicroSD card (https://github.com/m5stack/m5-docs/blob/master/docs/en/core/m5stickv.md#tf-cardmicrosd-test) Code: - Krux Wallet github (https://github.com/jreesun/krux-wallet) (by Jeff jreesun ) - Firmware, Requirements, Building, Installing (https://github.com/jreesun/krux-wallet/tree/main/firmware) Website with step by step installation guide: https://selfcustody.github.io/krux/ For support installing, using Krux wallet or any other questions you can visit https://matrix.to/#/#krux:matrix.org Krux Android App for testing: https://github.com/odudex/krux_binaries/tree/main/Android Use at your own risk and only store coins you are willing to lose! Title: Re: Krux DIY Hardware Wallet Post by: The Sceptical Chymist on July 24, 2021, 10:14:45 AM Lol:
https://i.imgur.com/fuKjuiC.png And though this might just be a standard disclaimer, why would I go with a product with some code with this warning: Quote WARNING: While functional, this is currently alpha-quality software and could have bugs or other issues that might cause you to lose your coins. Use at your own risk! ...when for about the same price I could buy a Trezor or Ledger?On a positive note, it is very small and doesn't look like a standard HW wallet. On the other hand, from the pictures it looks rather cheaply-made. I'm not at all familiar with M5Stack, so I could be wrong. Am I wrong? Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on July 24, 2021, 11:26:49 AM And though this might just be a standard disclaimer, why would I go with a product with some code with this warning Product or M5StickV device is working perfectly and it's unrelated with code that is still in early testing and just recently released.On a positive note, it is very small and doesn't look like a standard HW wallet. On the other hand, from the pictures it looks rather cheaply-made. I'm not at all familiar with M5Stack, so I could be wrong. Am I wrong? Don't look just picture but look at link and specs, for me ledger wallet looks very cheap especially when you open it and see all the junk that is inside, but M5StickV is similar if not exactly the same device like Blockstream Jade wallet is using for their hardware wallet.It can be used for multiple purposes as mini computer and not only as hardware wallet, and it has camera for QR codes, something that trezor or ledger don't have. Title: Re: Krux DIY Hardware Wallet Post by: NeuroticFish on July 24, 2021, 12:02:51 PM ...when for about the same price I could buy a Trezor or Ledger? Since Ledger/Trezor is not available in certain countries or there could be trust issues there, with this kind of setup you should be basically risk free. Although indeed that warning is somewhat concerning... (I'm not sure what are the actual risks though if one did save the seed properly; are there any?!) Title: Re: Krux DIY Hardware Wallet Post by: The Sceptical Chymist on July 24, 2021, 12:11:02 PM Product or M5StickV device is working perfectly and it's unrelated with code that is still in early testing and just recently released. Yes, but without that code that's still in early testing, the device won't be a HW wallet at all. It's precisely that code that makes this thing suitable for a thread in this section, right?Don't look just picture but look at link and specs, for me ledger wallet looks very cheap especially when you open it and see all the junk that is inside I did see the specs and all the cool things the M5StickV K210 can do, but when I said it looks cheaply-made, I mean the plastic shell looks cheap. It could be a great camera and mini Raspberry Pi-type of device, but I just don't like the look of it--and that's my opinion. Then again, there doesn't seem to be a way to zoom in on the pictures so I can't tell with any great detail how the finish of the shell actually looks but it does look like cheap plastic. And as always I respect your opinion about Ledger products, even if I disagree with you. We all have different tastes. Have you ordered one of these, by the way? I'd love to see some high resolution pics and hear a review about its utility as a HW wallet. Since Ledger/Trezor is not available in certain countries or there could be trust issues there, with this kind of setup you should be basically risk free. Are those two brands specifically prohibited in certain countries or are HW wallets in general prohibited? If it's the latter, then owning this device--even though it's not officially a HW wallet--would be kind of risky, wouldn't it? Also, I know this is straying from the topic, but what countries have banned HW wallets?Title: Re: Krux DIY Hardware Wallet Post by: Pmalek on July 24, 2021, 12:12:29 PM Judging by the address at the bottom of the page, these products are shipped out of China. When you order it in the EU you will likely be required to pay VAT as well.
It's a bit of a letdown that a product meant to store cryptocurrencies doesn't accept crypto as one of its payment methods (https://shop.m5stack.com/pages/payment-method), but they aren't the only ones. Apparently they only take PayPal and credit cards. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on July 24, 2021, 12:26:44 PM Have you ordered one of these, by the way? I'd love to see some high resolution pics and hear a review about its utility as a HW wallet. No, I ordered other similar ESP32 device but I am to lazy during summertime to load and install firmware with everything else on it and do some testing and reviews.I was thinking of ordering similar M5Stick device that was much cheaper but it didn't have camera or battery. This DIY projects are not meant for keeping large amounts of coins, but they are more of better version of wallet than keeping coins on some mobile device. Title: Re: Krux DIY Hardware Wallet Post by: NeuroticFish on July 24, 2021, 12:42:43 PM Since Ledger/Trezor is not available in certain countries or there could be trust issues there, with this kind of setup you should be basically risk free. Are those two brands specifically prohibited in certain countries or are HW wallets in general prohibited? If it's the latter, then owning this device--even though it's not officially a HW wallet--would be kind of risky, wouldn't it? Also, I know this is straying from the topic, but what countries have banned HW wallets?I think that it was about not being available (no way to buy it, no resellers, nothing), not straight banned. There was a thread from a guy (iirc he was from Arabia somewhere) who had this issue and wanted a solution. The problem is that a HW I would not buy from just anybody. It has to be the producer or a certified reseller. On the other hand, this hind of hardware may be safe since you flash it yourself with the software you probably check first. Judging by the address at the bottom of the page, these products are shipped out of China. Indeed, AliExpress has its share of M5Stack sellers, so it's most probably from China. >>> And while it's not a HW per se, it's actually a development kit, like RasPi or Arduino, it seems to have all you need to build something with HW capabilities off it. Title: Re: Krux DIY Hardware Wallet Post by: LoyceV on July 24, 2021, 01:46:59 PM Since Ledger/Trezor is not available in certain countries or there could be trust issues there, with this kind of setup you should be basically risk free. If that would be the case, I'd rather use an old netbook, they're cheap and much more versatile. Take out the Wifi module if needed, and install anything you want offline.On the other hand, this hind of hardware may be safe since you flash it yourself with the software you probably check first. Again: I'd trust a standard netbook with standard Linux distribution more, especially when kept offline. If USB cables (https://www.theverge.com/2019/8/15/20807854/apple-mac-lightning-cable-hack-mike-grover-mg-omg-cables-defcon-cybersecurity) can be used to access your computer (https://www.mitnicksecurity.com/blog/the-latest-malware-threat-the-usb-ninja-cable), how long will it takes before "offline" devices come with their own hidden internet connection?Title: Re: Krux DIY Hardware Wallet Post by: NeuroticFish on July 24, 2021, 01:56:47 PM Again: I'd trust a standard netbook with standard Linux distribution more, especially when kept offline. If USB cables (https://www.theverge.com/2019/8/15/20807854/apple-mac-lightning-cable-hack-mike-grover-mg-omg-cables-defcon-cybersecurity) can be used to access your computer (https://www.mitnicksecurity.com/blog/the-latest-malware-threat-the-usb-ninja-cable), how long will it takes before "offline" devices come with their own hidden internet connection? It's not even needed to have an old notebook. An USB stick with Tails OS and a few reboots actually can do all you need for pretty much all the safety you need and an easy to use cold storage. But some do prefer the convenience of HW, some do prefer to use it together with their smartphone, ... and this kind of setup may be OK for them. And those devices can have their own "hidden" internet only if they get connected through wires (which you should clearly not do) or you enter there your WiFi password (which would be even more stupid to do). Title: Re: Krux DIY Hardware Wallet Post by: LoyceV on July 24, 2021, 02:21:45 PM a few reboots ~ easy to use cold storage In my experience, those requirements don't work well together. I've spent a lot of time creating and signing a transaction offline, and ran into several problems (wrong version of Electrum and later a fee of less than 1 sat/byte). It took a while to get it all right, and considering how little I do this, I already forgot which Live CD eventually worked.I do have spare netbooks though, but they're old (1GB) and slow, and I never set them up for offline usage. Quote But some do prefer the convenience of HW, some do prefer to use it together with their smartphone, ... and this kind of setup may be OK for them. I'm not very fond of hardware wallets either, but it does the job and is a lot more n00b friendly (until they enter their seed words on a phishing site).Quote And those devices can have their own "hidden" internet only if they get connected through wires (which you should clearly not do) or you enter there your WiFi password (which would be even more stupid to do). Until they come with their own data connection. Prepaid data isn't that expensive anymore, and could be worth it in a targeted attack. People have already been sent fake hardware wallets (https://www.coindesk.com/scammers-are-now-sending-ledger-users-fake-hardware-wallets) by post.Title: Re: Krux DIY Hardware Wallet Post by: NeuroticFish on July 25, 2021, 12:54:21 PM In my experience, those requirements don't work well together. I've spent a lot of time creating and signing a transaction offline, and ran into several problems (wrong version of Electrum and later a fee of less than 1 sat/byte). It took a while to get it all right, and considering how little I do this, I already forgot which Live CD eventually worked. I've done that successfully for a short while before moving to the convenience of a proper HW. After writing the latest Tails OS onto the USB stick it's all good, no need to look for "what was the CD"? Or at least for me that was it all. I do have spare netbooks though, but they're old (1GB) and slow, and I never set them up for offline usage. :) and here comes the difference. While I do have plenty of spare USB sticks, I literally have no old laptop for this. My oldest laptop (12 years old) got a RAM update and was used lately by my kids even for online school. (until they enter their seed words on a phishing site). LOL! Those who don't read the very basics do deserve their fate though... Until they come with their own data connection. Prepaid data isn't that expensive anymore, and could be worth it in a targeted attack. People have already been sent fake hardware wallets (https://www.coindesk.com/scammers-are-now-sending-ledger-users-fake-hardware-wallets) by post. I've read about the fake ledgers on bitcointalk. I don't think though that general purpose development devices like this worth such an attack, since the vast majority will not be used as HW. It's fun as hobby, but creating your own Jade (Blockstream's hardware wallet) is more practical. Jade also use similar hardware (on price and physical size), but the source code available for free and thoughtfully tested. Imho the more the variety to choose from, the better. I expect Jade be less easy to buy than this M5StickV in some countries. Title: Re: Krux DIY Hardware Wallet Post by: SFR10 on July 25, 2021, 01:11:48 PM and it has camera for QR codes, something that trezor or ledger don't have. You're right but after watching the following "video (https://youtu.be/K19kRI1J1fk?t=107)", I'm not convinced that feature would be usable for those with a slight hand tremor...- I never had a device with an OV7740 sensor but I think it'd take a while before someone can successfully scan a Qr code with its camera. - Sorry for nitpicking [I do know it's just a $50 product], but I expected a little more after seeing they've doubled its price [it used to be only "$26.50 (https://youtu.be/yTzTFSgCGsA?t=65)"]. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on July 25, 2021, 05:56:32 PM It's fun as hobby, but creating your own Jade (Blockstream's hardware wallet) is more practical. Jade also use similar hardware (on price and physical size), but the source code available for free and thoughtfully tested. Yes, I think they are using exact same device as Jade wallet, but one problem with Jade code is that some people don't like their pin code connected with their server.Krux would be alternative for that but I would wait few weeks or months for some code audits and reviews. I'm not very fond of hardware wallets either, but it does the job and is a lot more n00b friendly (until they enter their seed words on a phishing site). Or until scammers send you modified ''free gift'' fake device, because your address got leaked in one of ledger leaks (true story) :DTitle: Re: Krux DIY Hardware Wallet Post by: jreesun on July 27, 2021, 10:41:21 AM Hey all, I'm the author of Krux. I noticed some traffic coming from here on GitHub and was pleasantly surprised to find this post. :) Thank you, dkbit98, for the write-up!
I wanted to answer some questions that were brought up in this thread and shed more light on the project in general. First of all, I'd like to be clear that this project isn't associated with the company (M5Stack) that makes the M5StickV. They make a bunch of embedded devices, of which the M5StickV is one. From what I gather, M5Stack is sort of like the Chinese for-profit version of the Raspberry Pi Foundation. Krux is "just" custom firmware and software I wrote for the device to turn it into a hardware wallet. I was in the market for a DIY multisig device and came across cool projects like SeedSigner (for the Pi Zero) and Specter-DIY, but ultimately decided that I wanted to try making my own after I came across the M5StickV on Adafruit. It seemed ripe for being turned into a hardware wallet with all it had packed into it, especially for the price point ($30-$50 depending on which distributor you buy it from). So, I got to work, used the embit (embedded bitcoin) micropython library for bitcoin-related logic, wrote an interface on top of it, and got my hands dirty making QR codes (and everything else) work. This started as a side project that morphed into something I thought was pretty cool and had the potential to be more widely useful, so here we are. I made the repo public a few days ago and haven't had any audits done (not opposed, but I don't think I could afford it), let alone another software engineer's eyes. That's the reason for the scary-sounding disclaimer for now; I don't want my hobby project to be the reason someone loses their money. But it does work! Quote I never had a device with an OV7740 sensor but I think it'd take a while before someone can successfully scan a Qr code with its camera. This is actually rather fast so long as the QR code is flat and not changing too rapidly. For some reference, it can handle reading the animated QR codes that Specter Desktop generates, which I believe change every 500ms. I did have to do some work here to speed things up and improve accuracy such as capturing in grayscale at a lower resolution and converting to a binary black/white image for processing. Fun problem to solve. The display shows the processed image, so you can see the world in black and white [insert maximalist joke here].The more difficult part was making QR codes fit the tiny display and still be readable by other devices (webcams). It generates its own animated QR codes to solve for this. Alternatively, you can also hook up an Adafruit thermal printer to it and print out the QR codes to pack more data into them (thus generating fewer). Printing is a useful feature in general: it lets you make physical backups of your seed phrase, print out signed PSBTs (that you could mail if you wanted), etc. There's a section on the README about it if anyone's interested. It adds to the cost, but just another $50. Quote Then again, there doesn't seem to be a way to zoom in on the pictures so I can't tell with any great detail how the finish of the shell actually looks but it does look like cheap plastic. Not sure what your criteria are to consider something "cheap plastic," but it feels solid to me. You'd have to be trying to break it in order to break it. It seems to be two pieces (front and back) of injection molded plastic snapped and screwed together.Quote I am to lazy during summertime to load and install firmware with everything else on it and do some testing and reviews. For anyone reading this, just want to mention that I added a Dockerfile to handle the process of building the firmware so that anyone with Docker and Python 3 installed should be able to do this now. Ideally, I would have liked for Docker to be the only requirement, but passing through USB serial devices from the host into Docker seems to be hard to do. So for now, Docker builds the firmware, and the Python scripts you invoke directly load the firmware (a binary file that resides in the Docker image) and the software (all contents under 'src').Hope that helped. I'll check this thread periodically and try to answer what I can! Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on July 27, 2021, 10:51:05 AM Hey all, I'm the author of Krux. I noticed some traffic coming from here on GitHub and was pleasantly surprised to find this post. Smiley Thank you, dkbit98, for the write-up! Hi jreesun, I am glad you found the source of traffic, joined Bitcointalk forum, and I hope you will stick around as we need more genuine users like you. One question for you, have you checked Blockstream Jade hardware wallet and can you confirm it is using exactly the same M5StickV device as Krux wallet? https://blockstream.com/jade/ Title: Re: Krux DIY Hardware Wallet Post by: jreesun on July 27, 2021, 11:28:27 AM Hey all, I'm the author of Krux. I noticed some traffic coming from here on GitHub and was pleasantly surprised to find this post. Smiley Thank you, dkbit98, for the write-up! Hi jreesun, I am glad you found the source of traffic, joined Bitcointalk forum, and I hope you will stick around as we need more genuine users like you. One question for you, have you checked Blockstream Jade hardware wallet and can you confirm it is using exactly the same M5StickV device as Krux wallet? https://blockstream.com/jade/ Wow! I honestly had no idea that existed until now. There's certainly an uncanny resemblance, but upon closer inspection there do appear to be some (minor) differences: 1. Their case is (obviously) custom and isn't the same one that the M5StickV uses. Their case also appears to be longer, and the front button is in a different location. 2. The specs of the two devices are similar but seem to be very slightly different: the Jade has Bluetooth, the M5StickV does not. Also, their battery is 240mAh, whereas the M5StickV is 200mAh. Maybe this is why their case is longer? Looking at their code, they don't seem to be using MaixPy at all (M5Stack's version of Micropython), but rather are building on top of the Espressif IoT Development Framework. Their hardware folder contains this: https://github.com/Blockstream/Jade/blob/master/hardware/Jade_v1_schematics.pdf It says "M5 Bitcoin Pocket," so I'm guessing it's a custom M5 product that is obviously extremely similar to the M5StickV with minor differences? Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on July 27, 2021, 12:31:34 PM Wow! I honestly had no idea that existed until now. There's certainly an uncanny resemblance, but upon closer inspection there do appear to be some (minor) differences: It's easy to 3d print custom case and I even found Jade cad STL file (https://github.com/grubles/temp/blob/master/JADE_asm.stl) on github. 1. Their case is (obviously) custom and isn't the same one that the M5StickV uses. Their case also appears to be longer, and the front button is in a different location. 2. The specs of the two devices are similar but seem to be very slightly different: the Jade has Bluetooth, the M5StickV does not. Also, their battery is 240mAh, whereas the M5StickV is 200mAh. Maybe this is why their case is longer? There are even cheaper devices like M5StickC ESP32 (https://m5stack.com/products/stick-c) for less than $14 but they are basic model and they don't have camera integrated. One more DIY wallet with similar concept like yours is Bowser wallet (https://bitcointalk.org/index.php?topic=5291333.0) made by arcbtc. It says "M5 Bitcoin Pocket," so I'm guessing it's a custom M5 product that is obviously extremely similar to the M5StickV with minor differences? There are obviously small differences in devices and batteries, but I guess in theory your code for Krux wallet could work perfectly fine even on Jade hardware wallet, and it is currently a bit cheaper than M5StickV.Title: Re: Krux DIY Hardware Wallet Post by: jreesun on July 28, 2021, 12:09:51 AM There are obviously small differences in devices and batteries, but I guess in theory your code for Krux wallet could work perfectly fine even on Jade hardware wallet, and it is currently a bit cheaper than M5StickV. Yes, I see what you mean! That would be a cool thing to test. If it works, that could be a good source of ~$40 devices if there ends up being limited availability of the M5StickV. It would also be a good way to continue supporting Blockstream's efforts :) That said, there are quite a few distributors of the M5StickV that I thought I would list here. You don't have to buy it directly from the M5Stack shop. The average price across all of them is also around $40: https://www.adafruit.com/product/4321 https://www.mouser.com/ProductDetail/Adafruit/4321 https://www.digikey.com/en/products/detail/m5stack-technology-co-ltd/K027/10492135 https://leeselectronic.com/en/product/169940-m5stick-ai-camera-kendryte-k210-risc-v-core-no-wifi.html https://www.cytron.io/c-development-tools/c-fpga/p-m5stickv-k210-ai-camera-without-wifi https://shop.pimoroni.com/products/m5stick-v-k210-ai-camera-without-wifi https://www.okdo.com/p/m5stickv-k210-ai-camera-without-wifi/ Title: Re: Krux DIY Hardware Wallet Post by: kkdao on July 31, 2021, 01:30:35 PM Lol: https://i.imgur.com/fuKjuiC.png And though this might just be a standard disclaimer, why would I go with a product with some code with this warning: Quote WARNING: While functional, this is currently alpha-quality software and could have bugs or other issues that might cause you to lose your coins. Use at your own risk! ...when for about the same price I could buy a Trezor or Ledger?On a positive note, it is very small and doesn't look like a standard HW wallet. On the other hand, from the pictures it looks rather cheaply-made. I'm not at all familiar with M5Stack, so I could be wrong. Am I wrong? is that the m5stack website? depending where you are, try digikey, mouser, farnell, aliexpress, etc. they are almost always in stock somewhere. Title: Re: Krux DIY Hardware Wallet Post by: n0nce on September 25, 2021, 04:49:22 PM Wow, this is so cool! I found this from @dkbit98's other great thread: AirGapped Hardware Wallets (https://bitcointalk.org/index.php?topic=5361456.0). Good job, @jreesun, I think I will actually build one :) Wanted to build a SeedSigner, but honestly there are more components that need to be sourced and more assembly, so I love that you use an M5Stack as base for this project. I'm a big fan of these devices, even though I haven't gotten around to buying one to play around with yet, so this looks like the perfect opportunity.. ;D
One big advantage is also that it's not so expensive. The other airgapped hardware wallets are much more expensive or not open source, etc., while here you actually buy a device without any firmware at all, which I love and it's around 50 bucks. Edit: It's actually only just over 30, where I live! :o As for: Why would I go with a product with some code with this warning: For me, the difference is that this is air gapped and open source. Trezor is also open source, but not air gapped. I have yet to look more into this specific M5Stack, since I'm not sure if it has a secure element or not, but if it had, that would be another advantage over the Trezor. Of course, Ledger is not an option for me, but there are other topics about Ledger. And finally, they're both more than 50 bucks, even when on discount.Quote WARNING: While functional, this is currently alpha-quality software and could have bugs or other issues that might cause you to lose your coins. Use at your own risk! ...when for about the same price I could buy a Trezor or Ledger?I'd still not store too much on such an M5Stack, but would be quite fun to play around with one for sure.. 0:) Edit 2: For anyone wondering where to get one cheap, so far it seems to me CoolComponents (UK) (https://coolcomponents.co.uk/products/m5stickv-k210-ai-camera-without-wifi) has the best price, just over 23GBP before VAT (which depends on where you live). Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on September 26, 2021, 01:14:18 PM I think I will actually build one :) Please note that Kruh wallet can't function as normal hardware wallet, but more like a cosigner in a multisignature setup, so every time you turn it off from power you will wipe his memory, and you will have to import your key every time you turn it on. Other thing that I don't like is the fact that code is new, not time tested and there could be some hidden bugs even in this simple code. This wallet has good and bad sides, it's very cheap and I think it serves great purpose for multisig device. Here are some images and videos how Krux works in real life: https://twitter.com/DIYbitcoin/status/1437293312810143745 Title: Re: Krux DIY Hardware Wallet Post by: n0nce on September 26, 2021, 03:04:55 PM I think I will actually build one :) Please note that Kruh wallet can't function as normal hardware wallet, but more like a cosigner in a multisignature setup, so every time you turn it off from power you will wipe his memory, and you will have to import your key every time you turn it on. Other thing that I don't like is the fact that code is new, not time tested and there could be some hidden bugs even in this simple code. This wallet has good and bad sides, it's very cheap and I think it serves great purpose for multisig device. Here are some images and videos how Krux works in real life: https://twitter.com/DIYbitcoin/status/1437293312810143745 Didn't an M5Stack with secure element exist? I think it does, but without camera. I'll have a look if maybe a secure memory chip can just be added (soldered) into such an M5StickV device and firmware modified to make use of it. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on September 26, 2021, 06:52:41 PM Thanks for these clarifications! So it's really a simpler version of SeedSigner basically. Pity it has no persistent (secure) storage, I assumed it had. Yeah, I think jreesun first saw SeedSigner DIY device, and than he came up with an idea to use M5StickV to create his own version of signing device.I think he did a great job with that fast QR codes and simple menus. Didn't an M5Stack with secure element exist? I think it does, but without camera. There is only one ESP32 device with secure element same like in ColdCard, Bitbox02 and Passport, that is M5Stack Core2 ESP32 AWS, but it's more expensive and there is no camera included.You always have tradeoffs with this devices. Title: Re: Krux DIY Hardware Wallet Post by: n0nce on September 27, 2021, 03:00:51 PM Thanks for these clarifications! So it's really a simpler version of SeedSigner basically. Pity it has no persistent (secure) storage, I assumed it had. Yeah, I think jreesun first saw SeedSigner DIY device, and than he came up with an idea to use M5StickV to create his own version of signing device.I think he did a great job with that fast QR codes and simple menus. Didn't an M5Stack with secure element exist? I think it does, but without camera. There is only one ESP32 device with secure element same like in ColdCard, Bitbox02 and Passport, that is M5Stack Core2 ESP32 AWS, but it's more expensive and there is no camera included.You always have tradeoffs with this devices. I'll order a stick and see what's possible when I find the time :) Title: Re: Krux DIY Hardware Wallet Post by: jreesun on October 12, 2021, 06:19:08 AM Just to reiterate what was stated above, Krux was designed to be a hardware signer for multisig wallets, and relies on coordinator software (such as Specter Desktop or BlueWallet) to generate PSBTs that it can sign to send funds out. It isn't really a 'hardware wallet', it's much simpler.
so every time you turn it off from power you will wipe his memory, and you will have to import your key every time you turn it on. This is inconvenient, but this was by design to decouple the hardware from the keys in a multisig so that: 1) you can have less hardware devices than there are keys in your multisig (saves money), and 2) you don't have to worry about safely storing your hardware devices in addition to physical backups of your keys, or have to worry about bit rot. Basically, Krux is designed to be used with physical copies of your keys that you obtain from various geographic sites you have them stored at, hence all the different supported ways of inputting your mnemonic (as text, numbers, bitstrings, QR codes, etc.); I wanted a device I could use to input a key directly from a steel punch card without having to do a conversion, for example. The QR code input method offers a compromise by making the 'login' process a lot faster (near-instant reads once you have the camera lens honed in), but it requires that you create one which isn't the safest thing to accomplish. To solve that, Krux itself can print one out for you when you attach a mini thermal printer to it (probably sounds more intimidating than it is! see here: https://github.com/jreesun/krux#printing-qrs (https://github.com/jreesun/krux#printing-qrs)). The downside to this is that you now have an extra copy of your mnemonic to safely store, but the upside is that you can always just burn it and make another. Alternatively, you could technically have the printed QR code be the only copy of your mnemonic, though I wouldn't suggest it since it could fade over time or if exposed to heat. If only there were a $50 laser printer one could use to etch a QR code into steel! :D Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on October 12, 2021, 10:12:33 AM Just to reiterate what was stated above, Krux was designed to be a hardware signer for multisig wallets, and relies on coordinator software (such as Specter Desktop or BlueWallet) to generate PSBTs that it can sign to send funds out. It isn't really a 'hardware wallet', it's much simpler. Is it possible to optionally use it as a single sig device, in similar way like it's possible with Seed Signer device in settings?Multi sig has many advantage but sometimes you want to avoid complications for whatever reason. The QR code input method offers a compromise by making the 'login' process a lot faster (near-instant reads once you have the camera lens honed in), but it requires that you create one which isn't the safest thing to accomplish. To solve that, Krux itself can print one out for you when you attach a mini thermal printer to it (probably sounds more intimidating than it is! see here: https://github.com/jreesun/krux#printing-qrs (https://github.com/jreesun/krux#printing-qrs)). Seed Signer have the option for drawing your own QR code manually on paper with sharpie for example, and I think that is more permanent than thermal printing.Title: Re: Krux DIY Hardware Wallet Post by: jreesun on October 19, 2021, 04:41:38 AM Is it possible to optionally use it as a single sig device, in similar way like it's possible with Seed Signer device in settings? Multi sig has many advantage but sometimes you want to avoid complications for whatever reason. I have just added support for single-key wallets. After entering your mnemonic, you will be presented with a new screen asking if you want "Single-key" or "Multisig" before landing on the home menu. Note that you still need to use the coordinator software to create the single-key wallet and generate PSBTs for you; Krux continues to act only as a signer. You'll want to pull down the latest code and do a full run through the steps: building the firmware, flashing the firmware, building the software (new step), and flashing the software. If you run into any problems, feel free to file an issue on the repo or drop a message here. I'll try to check in on this thread more frequently. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on October 19, 2021, 11:44:18 AM I have just added support for single-key wallets. After entering your mnemonic, you will be presented with a new screen asking if you want "Single-key" or "Multisig" before landing on the home menu. Note that you still need to use the coordinator software to create the single-key wallet and generate PSBTs for you; Krux continues to act only as a signer. Nice work!I would also like to see some comparison of Krux wallet with Seed Signer, both of them are working in similar way and I heard that QR codes are now compatible between those two devices. Krux wallet should be cheaper and more simple to make, and I think that Vlad Costea from Wasabi made one comparison and short reviews of DIY wallets but Krux is missing. I would maybe add few more wallets and things to compare with advantages and disadvantages: https://i.imgur.com/71ctFhH.jpg https://blog.wasabiwallet.io/diy-hardware-wallets-part-ii/ Title: Re: Krux DIY Hardware Wallet Post by: NotATether on October 20, 2021, 09:15:44 AM I hope this device doesn't have any cables for connections (USB, MicroUSB, etc) because the screen is not implanting pixels in random places around the characters which means they can be categorized/guessed through an oscilloscope.
Title: Re: Krux DIY Hardware Wallet Post by: LoyceV on October 20, 2021, 09:38:27 AM they can be categorized/guessed through an oscilloscope. This attack vector is not part of the long list of things I worry about. It sounds like an attack that can only work in a lab setting.With "normal" hardware wallets, one of my worries is that someone replaces it by another one, which is rigged to broadcast whatever PIN I enter. The thief can then enter PIN in the real wallet. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on October 20, 2021, 09:55:06 AM I hope this device doesn't have any cables for connections (USB, MicroUSB, etc) because the screen is not implanting pixels in random places around the characters which means they can be categorized/guessed through an oscilloscope. This is airgapped device that has 200mAh battery for power, and usb cable is used only one time for loading the code, but this could probably be done with microSD card.This attack you are speaking off is highly unlikely to happen, especially for unknown DIY device like Krux is. With "normal" hardware wallets, one of my worries is that someone replaces it by another one, which is rigged to broadcast whatever PIN I enter. The thief can then enter PIN in the real wallet. PIN code can be hacked or extracted fairly easy from any device, and it's more like a french fry keeping door locked.Title: Re: Krux DIY Hardware Wallet Post by: LoyceV on October 20, 2021, 10:10:16 AM PIN code can be hacked or extracted fairly easy from any device, and it's more like a french fry keeping door locked. I was talking about "normal" hardware wallets, say Trezor/Ledger. As far as I know it shouldn't be possible to extract the PIN.Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on October 20, 2021, 10:31:03 AM I was talking about "normal" hardware wallets, say Trezor/Ledger. As far as I know it shouldn't be possible to extract the PIN. I know you said this about regular hardware wallets because Krux doesn't need PIN codes.For ledger wallet I am not sure if they keep PIN code in secure element or not (like seed words) but I know you can change PIN anytime and it's just 4 to 8 digits, so I won't trust them. Kraken labs showed that it's possible to crack the PIN code on Trezor wallet, so I would rather use good passphrase in addition to PIN code. In same way it's not very hard to bypass or reset password on Windows or Android OS, but some people still use and trust it. :) Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on December 15, 2021, 01:48:36 PM Development of Krux wallet is still active as you can see in github and developer is currently optimizing the code and working on translations with community contributions.
Krux Website is released with detailed step by step installation guide, generating mnemonic, menu navigation, etc. and it's still work in progress: https://jreesun.github.io/krux/ For support installing, using Krux wallet or any other questions you can visit matrix.to/#/#krux:matrix.org Title: Re: Krux DIY Hardware Wallet Post by: m2017 on December 17, 2021, 08:17:04 AM What screen does Krux use? Resembles electronic ink.
Will there be benefits from using e-ink displays in hardware wallets? It is good that such devices appear. This allows hardware wallet market to evolve, which ultimately allows users to get a technically better product. It also expands the assortment from which you can choose an individually suitable device. The pace of development immediately slows down when only 2 large manufacturers remain. The story of Ledger and Trezor doesn't you remember the story of Intel and AMD? Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on December 17, 2021, 11:01:50 AM What screen does Krux use? Resembles electronic ink. You can find all the details and specifications on m5stack website and I posted all the links in first post of this topic.Screen for M5StickV K210 is IPS 1.14 TFT, 135*240 ST7789. Will there be benefits from using e-ink displays in hardware wallets? This is not the subject of this topic so please don't go off-topic, and I personally don't care if the screen is e-ink or not.Title: Re: Krux DIY Hardware Wallet Post by: jreesun on April 01, 2022, 06:34:43 PM Hey everyone! Dropping in to announce that the first stable release of Krux is now out:
https://github.com/selfcustody/krux/releases/tag/v22.03.0 I created an organization on Github to house the project and its dependencies under. Hopefully the URL will now be easier to remember than my username... I have also updated the website to include much more documentation on all of Krux's functionality, including guides for installing from a release or from source and using it in single-key or multisig wallets created with either Specter Desktop, Sparrow, or BlueWallet: https://selfcustody.github.io/krux/ Enjoy! PS: This isn't an April Fools joke ;) Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on April 02, 2022, 08:01:01 PM Hey everyone! Dropping in to announce that the first stable release of Krux is now out Hey jreesun!I saw you are cooking and preparing something for a while but I forgot to post updates in this topic. This looks much better and cleaner in github and I will finally have to power up my M5Stick device that is collecting dust and waiting for better times. Instructions on website will help a lot in this process, and I will try to report in forum how everything tuned out in my case. Great to see you have stepansnigirev and other onboard. Interesting thing that I found out is that Krux will be able to work with Sipeed Maix Amigo devices soon, and they are based on RISC-V chips! I believe price for this devices was around $50 dollars last time I checked, but I am not sure how easy is to buy them now for that price. I think this would be first a RISC-V based bitcoin signing device... but can you say more about this? https://i.ibb.co/t4LFtnw/img6385bfb6cfc8b3e39e605b37ff356a98.gif https://wiki.sipeed.com/soft/maixpy/en/develop_kit_board/maix_amigo.html Title: Re: Krux DIY Hardware Wallet Post by: jreesun on April 03, 2022, 01:07:12 AM Quote from: dkbit98 I saw you are cooking and preparing something for a while but I forgot to post updates in this topic. Yes, I was waiting for the code to become more stable before I posted an update here. Unfortunately that took longer than I originally anticipated. Anyway, I appreciate everything you've done in here already. :) One of the changes I made in response to a comment here was adding support for airgapped firmware updates via microSD. Although Krux doesn't store keys, I still didn't like that any firmware upgrade would require plugging the device in to flash the latest code. So, now, after you've initially flashed the firmware, any subsequent upgrades can be done by placing the new firmware and a corresponding signature file on a microSD card and plugging that into the device. On boot, Krux will verify the signature and prompt you to install the upgrade. I've also been working on some more fun features to come, including support for "printing" your QR codes by streaming gcode to a CNC machine so you can mill them out of wood or metal. Quote from: dkbit98 This looks much better and cleaner in github and I will finally have to power up my M5Stick device that is collecting dust and waiting for better times. Instructions on website will help a lot in this process, and I will try to report in forum how everything tuned out in my case. Sounds good, hope you like it! Quote from: dkbit98 Interesting thing that I found out is that Krux will be able to work with Sipeed Maix Amigo devices soon, and they are based on RISC-V chips! Yes, odudex on Github has been doing great work to port Krux over to the Maix Amigo and Maix Bit devices. See here for recent progress: https://github.com/selfcustody/krux/discussions/108 Quote from: dkbit98 I think this would be first a RISC-V based bitcoin signing device... but can you say more about this? The short version: Krux will run on any device that has a Kendryte K210 SoC. The K210 does indeed have 2 RISC-V cores. Here's some more info on it: https://github.com/kendryte/kendryte-doc-datasheet/blob/master/en/001.md The longer version: Krux is primarily written in Python and is a [Micro]python project. However, it uses a wrapper around Micropython, called MaixPy (that I had to fork to add some more features for Krux to utilize), which was created by Sipeed to add support for the K210 and add additional, non-standard features to Micropython including OpenMV support, with drivers for interfacing with various camera sensors found in their devices. So, for now, Krux can only run on K210 devices*. However, I hope for it to support other Micropython platforms in the future. *or simulated ones. I did add a simulator recently so that Krux can be run on Linux and Mac, but I obviously don't recommend using it for real: https://github.com/selfcustody/krux/tree/main/simulator Title: Re: Krux DIY Hardware Wallet Post by: jreesun on August 10, 2022, 08:56:58 PM Popping in to let everyone know that a new release of Krux is finally available:
https://github.com/selfcustody/krux/releases/latest It now includes support for the Maix Amigo, Maix Bit, and Maix Dock, and of course the existing M5StickV. Hope you like it! And if not, file an issue ;) Title: Re: Krux DIY Hardware Wallet Post by: n0nce on August 10, 2022, 09:17:01 PM Popping in to let everyone know that a new release of Krux is finally available: Wow, it's great to see you continuing working on this project.https://github.com/selfcustody/krux/releases/tag/v22.08.0 It now includes support for the Maix Amigo, Maix Bit, and Maix Dock, and of course the existing M5StickV. Hope you like it! And if not, file an issue ;) Especially with the broader hardware support now, I'm going to order something and play around with it. Title: Re: Krux DIY Hardware Wallet Post by: jreesun on August 11, 2022, 06:32:47 AM Popping in to let everyone know that a new release of Krux is finally available: Wow, it's great to see you continuing working on this project.https://github.com/selfcustody/krux/releases/tag/v22.08.0 It now includes support for the Maix Amigo, Maix Bit, and Maix Dock, and of course the existing M5StickV. Hope you like it! And if not, file an issue ;) Especially with the broader hardware support now, I'm going to order something and play around with it. Awesome, welcome aboard! My ultimate goal with Krux is to have it become something like the Linux of hardware wallet firmware, an open-source device-agnostic signing "OS" you can install on any platform capable of running Micropython. For now, we're expanding the K210-based devices that it supports, but I hope to eventually shim out the MaixPy/K210-specific modules so we can port to other platforms and not be too locked-in to any one vendor. I've been eyeing ESP32 as a potential next target. Still a LOT of work to do before we get to that point. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on August 11, 2022, 12:38:01 PM New firmware version 22.08.0 is released for Krux wallet (thanks to odudex) and it is now supporting three new devices the Maix Amigo, Maix Bit, and Maix Dock, along with original M5StickV.
Two of this new devices Maix Amigo and Dock are much bigger, but they are easier to use with touchscreen and more enhancements. One more important update is added support for SeedSigner’s new CompactSeed QR codes, and for BIP39 passphrases. Maix Amigo price is currently around $50 but it's not easy to find it in stock; Maix Dock and Mix Bit are cheaper but they are more DIY devices. Website is also updated with updated instructions: https://selfcustody.github.io/krux/ https://github.com/selfcustody/krux/releases https://i.imgur.com/Qu0l5w7.jpg Still a LOT of work to do before we get to that point. Hey jreesun, do you know any webshops that have Maix Amigo device in stock?Title: Re: Krux DIY Hardware Wallet Post by: jreesun on August 11, 2022, 01:04:03 PM New firmware version 22.08.0 is released for Krux wallet (thanks to odudex) and it is now supporting three new devices the Maix Amigo, Maix Bit, and Maix Dock, along with original M5StickV. Two of this new devices Maix Amigo and Dock are much bigger, but they are easier to use with touchscreen and more enhancements. One more important update is added support for SeedSigner’s new CompactSeed QR codes, and for BIP39 passphrases. Maix Amigo price is currently around $50 but it's not easy to find it in stock; Maix Dock and Mix Bit are cheaper but they are more DIY devices. Website is also updated with updated instructions: https://selfcustody.github.io/krux/ https://github.com/selfcustody/krux/releases https://i.imgur.com/Qu0l5w7.jpg Still a LOT of work to do before we get to that point. Hey jreesun, do you know any webshops that have Maix Amigo device in stock?Mouser does. Not sure about other shops. If you find others, I'll add them to the list here: https://selfcustody.github.io/krux/parts/#maix-amigo Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on August 11, 2022, 03:01:17 PM Mouser does. Not sure about other shops. If you find others, I'll add them to the list here: https://selfcustody.github.io/krux/parts/#maix-amigo Hmm it's not that easy to find Maix Amigo, that Mouser link you have on your website is redirecting me to error page saying ''Sorry, we can’t find the page you’re looking for.''.Than I tried to do manual search of term Maix Amigo and I found it but it has restricted availability, and due to government regulations they are unable to sell it to me. Next thing I did is changing my IP address using several different locations in Europe and they all have exact same restricted availability message :/ I finally found them in stock on some websites with higher price, but first store could be option for people who live in US. Second store is located in EU, and lost one is Chinese based Aliexpress: https://www.electromaker.io/shop/product/sipeed-maix-amigo https://www.antratek.com/sipeed-maix-amigo https://www.aliexpress.com/ Note that I can't vouch for any of the websites posted above! Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on August 27, 2022, 08:44:19 PM This week I finally had free time and I finally managed to flash one of my M5StickV device that was collecting dust, and I installed Krux firmware.
Whole procedure is very simple and it takes only few minutes to complete after downloading latest firmware 22.08.1 from Krux github page. Nice thing is that you can do this easily on most operating systems like Linux, Mac and wiNd0ws, following instructions from Getting Started page: https://selfcustody.github.io/krux/getting-started/ https://i.imgur.com/2rPyY4Q.jpg https://i.imgur.com/q6qNxAN.jpg Turning on device for the first time shows you menu screen, so you can than Load Mnemonic or create new one using D6 (standard six-sided die) or D20 dices (20-sided die). Loading Mnemonic can be done via QR codes (easiest option), or importing Text, Numbers and Bips using BIP-39 standard. Note that importing seed words manually is time consuming, so I suggest generating seed words offline in any method you like and importing it with QR code. Ian Coleman's BIP-39 Tool is able to generate mnemonic with QR code you can import to Krux, but you need to select 12 or 24 words. After this you can Add Passphrase if you want, and choose between Single-key and multisig. https://i.imgur.com/Mo3Km9G.jpg https://i.imgur.com/jTE8cK4.jpg Device has miniature battery so it can work without any cable connection, it has camera with light, but there is no way to see how much battery is charged and I don't like that. It's easy to open device with unscrewing two screws and you can see everything inside, replace battery, camera or any other part. Navigation is not that great and it's done with two plastic buttons on both sides of device with main confirmation button that is on front side below screen. To put things into perspective I have to say that device dimensions are very small: 48*24*22mm. I will test how everything works, pair it with different wallets and post updates in future. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on January 27, 2023, 05:55:29 PM For anyone who owns old Android smartphone and wants to test Krux app you can do it now with downloading latest version 0.7 APK file from their github page.
Note that this should be used only for learning how Krux works with signing Bitcoin transactions or Nostr events. Don't use Krux app for storing important keys or larger amount of coins, but you can download and test how everything works: https://github.com/odudex/krux_binaries/tree/main/Android Title: Re: Krux DIY Hardware Wallet Post by: hZti on January 27, 2023, 06:57:03 PM Very nice development and also a good quality look for a DIY device!
What always bothers me, is that maybe I can use this device, since I have a lot of experience in this field, but I can never recommend it to somebody because it is simply to complicated. Maybe it is possible to eventually in a few years/month to have a very easy DIY kit of this wallet available for sale. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on January 27, 2023, 07:49:12 PM Very nice development and also a good quality look for a DIY device! It's not complicated at all, especially with this new mobile app for testing.What always bothers me, is that maybe I can use this device, since I have a lot of experience in this field, but I can never recommend it to somebody because it is simply to complicated. Maybe it is possible to eventually in a few years/month to have a very easy DIY kit of this wallet available for sale. I am not an expert or developer at all, but I managed to flash You buy any supported device, than you flash a code, verify it, and you are ready to go... it's easy. Title: Re: Krux DIY Hardware Wallet Post by: odudex on January 31, 2023, 06:59:55 PM Hi, I'm a Krux contributor, this is my first participation here :)
Just a little correction: Krux is not ESP32 based, its SoC is a Kendryte K210. But it is indeed very easy to use. Maix Amigo and Mstick-V devices comes assembled and ready to use. Just Maix Dock and Bit need 3d printed enclosures, soldering wires,etc. Here's a link comparing the compatible hardware: https://github.com/odudex/krux_binaries/blob/main/Devices.md Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on January 31, 2023, 10:26:33 PM Hi, I'm a Krux contributor, this is my first participation here :) Yeah I made a mistake about that, thank you for correcting me, and I am glad to see you in bitcointalk forum :)Just a little correction: Krux is not ESP32 based, its SoC is a Kendryte K210. I think I mixed this up with similar device made by same manufacturer M5Stack Core2 ESP32 AWS Development Kit (M5StickC is also ESP32). It's funny enough that this device currently have the same price like M5StickV K210, but I don't know if this can work with Krux code. https://i.imgur.com/iTpxjxN.jpg https://shop.m5stack.com/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit But it is indeed very easy to use. Maix Amigo and Mstick-V devices comes assembled and ready to use. Just Maix Dock and Bit need 3d printed enclosures, soldering wires,etc. Here's a link comparing the compatible hardware: Maix Amigo looks like amazing device for that price, but it's not so easy to find it available online.https://github.com/odudex/krux_binaries/blob/main/Devices.md Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 01, 2023, 01:14:57 PM They look similar, but K210 is actually a quite special chip. It has more horsepower than current ESP32s, has dual RISCV(open source instruction set) cores running at 400MHz and also some hardware acceleration for video processing and SHA256. Keith, from SeedSigner is on an effort to run SeedSigner code on ESP32s, but it is quite challenging, as they run at 240MHz and lack of fast video buffers. ESP32 manufacturer, Espressif, now seems to be going in direction of RISCV cores, next chips will be more suitable to run optical signers.
You can easily find Amigos on Aliexpress, probably on Digikey, Mouser, etc. too Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on February 01, 2023, 02:50:03 PM They look similar, but K210 is actually a quite special chip. It has more horsepower than current ESP32s, has dual RISCV(open source instruction set) cores running at 400MHz and also some hardware acceleration for video processing and SHA256. Keith, from SeedSigner is on an effort to run SeedSigner code on ESP32s, but it is quite challenging, as they run at 240MHz and lack of fast video buffers. ESP32 manufacturer, Espressif, now seems to be going in direction of RISCV cores, next chips will be more suitable to run optical signers. I was able to run one ESP32 device called TTGO T-display with LNbits code like I wrote below, but I think someone said that this same device can work with Jade hardware wallet firmware.Jade hardware wallet is very similar with M5StickV K210, I am not exactly sure what components are hidden inside, but I think it's ESP32. Here is my topic about cheap LNbits DIY Wallet: https://bitcointalk.org/index.php?topic=5413707.0 You can easily find Amigos on Aliexpress, probably on Digikey, Mouser, etc. too I didn't had very good experience with Aliexpress and their delivery, and there is only one Maix Amigo K210 I found on Ebay but it's used device.Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 01, 2023, 03:38:08 PM I was able to run one ESP32 device called TTGO T-display with LNbits code like I wrote below, but I think someone said that this same device can work with Jade hardware wallet firmware. Jade has the shape of a M5stickV but uses ESP32 indeed. So how they managed to use camera e scan QR codes? I believe they were able to achieve this by using efficient C code, instead of micropython.Jade hardware wallet is very similar with M5StickV K210, I am not exactly sure what components are hidden inside, but I think it's ESP32. Jade has support to be compiled and flashed in TTGOs and M5stack Black, Grey, Fire, etc(not k210 M5stickV). I did it myself and it works pretty well. However the firmware for these boards does not have camera support neither air-gapped features, only USB signing on Green Wallet. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on February 01, 2023, 04:13:01 PM Jade has the shape of a M5stickV but uses ESP32 indeed. So how they managed to use camera e scan QR codes? I believe they were able to achieve this by using efficient C code, instead of micropython. So you think that it's impossible for Jade hardware wallet device to work with Krux firmware somehow?Jade has support to be compiled and flashed in TTGOs and M5stack Black, Grey, Fire, etc(not k210 M5stickV). I did it myself and it works pretty well. However the firmware for these boards does not have camera support neither air-gapped features, only USB signing on Green Wallet. Is airgapped features with camera and QR code already working with Jade wallet?I saw they announced firmware update that will enable that, but I don't have their device to confirm this. Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 01, 2023, 06:49:39 PM So you think that it's impossible for Jade hardware wallet device to work with Krux firmware somehow? Yes, it is impossible. Krux main application is written in micropython, it would be really hard, if not impossible, to port it to ESP32 devices such as Jade.Is airgapped features with camera and QR code already working with Jade wallet? Yes, they are working pretty well on official Jade hardware AFAIK.I saw they announced firmware update that will enable that, but I don't have their device to confirm this. Title: Re: Krux DIY Hardware Wallet Post by: n0nce on February 01, 2023, 09:05:41 PM They look similar, but K210 is actually a quite special chip. It has more horsepower than current ESP32s, has dual RISCV(open source instruction set) cores running at 400MHz and also some hardware acceleration for video processing and SHA256. Keith, from SeedSigner is on an effort to run SeedSigner code on ESP32s, but it is quite challenging, as they run at 240MHz and lack of fast video buffers. ESP32 manufacturer, Espressif, now seems to be going in direction of RISCV cores, next chips will be more suitable to run optical signers. How about secure elements? Is any of these SoCs protected against just reading out its flash contents through a debug port or desoldering a flash chip from the PCB?You can easily find Amigos on Aliexpress, probably on Digikey, Mouser, etc. too Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on February 02, 2023, 08:49:15 PM How about secure elements? Is any of these SoCs protected against just reading out its flash contents through a debug port or desoldering a flash chip from the PCB? Odudex can correct me if I am wrong, but I think everything is erased from Krux once you turn the power off, so there is nothing to read and copy.Than you have to load seed phrase each time you turn the power on, best with QR code scan, but it can be done manually. That is why we don't need to have or trust secure elements, and one of the reasons I like Krux. Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 03, 2023, 05:21:02 PM You're right, Krux relies on a protocol, not on an element.
Title: Re: Krux DIY Hardware Wallet Post by: n0nce on February 04, 2023, 03:42:42 AM How about secure elements? Is any of these SoCs protected against just reading out its flash contents through a debug port or desoldering a flash chip from the PCB? Odudex can correct me if I am wrong, but I think everything is erased from Krux once you turn the power off, so there is nothing to read and copy.Than you have to load seed phrase each time you turn the power on, best with QR code scan, but it can be done manually. That is why we don't need to have or trust secure elements, and one of the reasons I like Krux. Unfortunately, keeping a QR code with me and making sure nobody takes a picture of it, I don't lose it, ... does not fit my usage model for such a device at the moment. Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 04, 2023, 07:50:09 PM I would recommend not to trust a chip/device alone, things can go wrong in a lot of ways. A physical backup is important. Also, a passphrase can save you in case someone sees the seed.
Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on February 04, 2023, 08:50:00 PM Unfortunately, keeping a QR code with me and making sure nobody takes a picture of it, I don't lose it, ... does not fit my usage model for such a device at the moment. I understand what you mean, but someone could take a picture of your regular seed words for any other bitcoin wallet ;)It can be a bit annoying importing QR code seed phrase each time you power on your device, but it can be faster than entering pin code each time you turn ledger hardware wallet. For people who are making many transactions each day Krux wouldn't be ideal option, but it's much more secure and there is nothing to hack or exploit. I would recommend not to trust a chip/device alone, things can go wrong in a lot of ways. A physical backup is important. Also, a passphrase can save you in case someone sees the seed. He has a point, Krux wallet is not for all-in-one solution for everyone, especially not if you are traveling because you have to take QR code seed phrase with you.Can Krux be used in multisig setup with other hardware wallets? Title: Re: Krux DIY Hardware Wallet Post by: n0nce on February 04, 2023, 09:18:20 PM I would recommend not to trust a chip/device alone, things can go wrong in a lot of ways. A physical backup is important. Also, a passphrase can save you in case someone sees the seed. Of course, I even have a topic about this. https://bitcointalk.org/index.php?topic=5363596.0 Unfortunately, keeping a QR code with me and making sure nobody takes a picture of it, I don't lose it, ... does not fit my usage model for such a device at the moment. I understand what you mean, but someone could take a picture of your regular seed words for any other bitcoin wallet ;)Meanwhile a hardware wallet with secure element can also be left in a less secure location where it is quickly and easily accessible. Krux is basically an airgapped computer that lets you easily import a cold / offline / paper wallet. The necessity to protect the (cleartext) seed QR is a pretty huge downside of this system. You can't even know if someone copied it, since you always carry it around in clear text. While a quick picture of the QR gives the attacker full access, as well as the ability to stay unnoticed, hacking a Passport (or similar) requires it to be gone for hours (to attempt an intensive hardware attack). You are much more likely to notice that. Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 06, 2023, 05:18:24 PM The necessity to protect the (cleartext) seed QR is a pretty huge downside of this system. You can't even know if someone copied it, since you always carry it around in clear text. That's what passphrases are for. You can also write your seed in different ways, formats, number bases, encodings, encrypted, but sure this is not for everyone. Most people should just trust companies and go with mainstream solutions.While a quick picture of the QR gives the attacker full access, as well as the ability to stay unnoticed Krux has a supporting role in sovereign strategy, it's a Swiss army knife for create and load seeds in a variety of forms and to sign PSBTs and messages, it requiring less trust. Can Krux be used in multisig setup with other hardware wallets? Yes!Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on February 06, 2023, 08:17:08 PM I don't need to carry around my seed phrase backups, though. They are in safe locations. You don't need to care physical seed phrase backup, but you are doing it in digital form inside secure element.I agree with you that Krux is not very good as a portable device, but it's good enough as a part of multisig setup and to use it at home. Meanwhile a hardware wallet with secure element can also be left in a less secure location where it is quickly and easily accessible. That is fine until someone exploits that secure element, and we already saw that many secure elements are not secure anymore, including ATECC608A that is used in Passport, OneKey, Cypherock, ColdCard Mk3...While a quick picture of the QR gives the attacker full access, as well as the ability to stay unnoticed, hacking a Passport (or similar) requires it to be gone for hours (to attempt an intensive hardware attack). You are much more likely to notice that. Good passphrase and multisig solves this problem very easy, but it would be good to see Krux devs making some unique protection methods in future.That's what passphrases are for. You can also write your seed in different ways, formats, number bases, encodings, encrypted, but sure this is not for everyone. Most people should just trust companies and go with mainstream solutions. Do you think it would be possible to have some alternative firmware option for Krux similar like Jade wallet is using with third party server?Krux has a supporting role in sovereign strategy, it's a Swiss army knife for create and load seeds in a variety of forms and to sign PSBTs and messages, it requiring less trust. Title: Re: Krux DIY Hardware Wallet Post by: n0nce on February 07, 2023, 05:23:33 AM The necessity to protect the (cleartext) seed QR is a pretty huge downside of this system. You can't even know if someone copied it, since you always carry it around in clear text. That's what passphrases are for.While a quick picture of the QR gives the attacker full access, as well as the ability to stay unnoticed I don't need to carry around my seed phrase backups, though. They are in safe locations. You don't need to care physical seed phrase backup, but you are doing it in digital form inside secure element.I agree with you that Krux is not very good as a portable device, but it's good enough as a part of multisig setup and to use it at home. Sure! But at that point, it resembles more an airgapped computer than a hardware wallet, for me. Of course it will be hard to draw a line between the two definitions.Meanwhile a hardware wallet with secure element can also be left in a less secure location where it is quickly and easily accessible. That is fine until someone exploits that secure element, and we already saw that many secure elements are not secure anymore, including ATECC608A that is used in Passport, OneKey, Cypherock, ColdCard Mk3...Well, not secure is a bit exaggerated. Have you seen what type of setup and knowledge is needed to attack it, the risks and challenges in that process? It's not comparable to just having the seed on a piece of paper in clear text. Even setting up a passphrase cracking rig will be easier and cheaper for most folks than performing a hardware attack on a secure element. There are also significant risks involved, such as breaking the device / chip while opening and decapsulating the secure element. Basically, you can compare such measures to physical locks. None is 100% safe, but they are made to discourage an attacker and buy you as much time as possible in case they do decide to try bypassing it. Time for moving your coins / calling the police, respectively. While a quick picture of the QR gives the attacker full access, as well as the ability to stay unnoticed, hacking a Passport (or similar) requires it to be gone for hours (to attempt an intensive hardware attack). You are much more likely to notice that. Good passphrase and multisig solves this problem very easy, but it would be good to see Krux devs making some unique protection methods in future.With that said: I could argue that you could also use a passphrase on your Passport with secure element. Twice as secure; first layer of defense: secure element, second layer of defense: passphrase. Meanwhile when stealing someone's Krux & QR code, there is only the second layer. Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 07, 2023, 01:48:02 PM Krux smaller devices has 3 buttons, and the most popular, Amigo, has capacitive touch screen. You could check the Android app to have an idea of what we are talking about.
Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on February 07, 2023, 09:04:55 PM How do you enter the passphrase when it has just one button? Or is it scanned in through a second QR code? Of course this wouldn't be an acceptable solution either, since someone could take a photo of that (while you don't notice) or just steal it, as well. Dude, I don't know who told you about one button, but you are wrong about this, it would be almost impossible to operate any device with just one button, unless it's joystick style ;)Small device M5StickV K210 have two buttons I think, and other larger devices that work with Krux code have more buttons. Sure! But at that point, it resembles more an airgapped computer than a hardware wallet, for me. Of course it will be hard to draw a line between the two definitions. It's airgapped device.Computer usually have more functions and it has wider attack surface. You are referring to this attack, right? https://hackaday.com/2022/11/26/defeating-a-cryptoprocessor-with-laser-beams/ Yes I was talking about this, but previous version of secure element ATECC508A had even bigger issues, so old ColdCard (I think mk2) had to change it very fast.It's realistic to say that same thing can happen with ATECC608A and ATECC508B in future, like with any other secure elements, and you can't exactly remove and replace secure element from working device. Do you know how passphrase entry is realized? I believe unless you have a nice keypad like Passport or ColdCard, most people will just avoid using (a sufficiently secure) one. Even if you have perfect keypad like Passport you certainly wont write very long passphrase essays, because you still need to enter this each time you use device.You could check the Android app to have an idea of what we are talking about. Krux Android App for testing (this is also working on some Android emulators I tried):https://github.com/odudex/krux_binaries/tree/main/Android What would be oldest the Android version supporting Krux app? I have some ancient smartphone device with Android 4 or 5 I think :D Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 07, 2023, 10:39:19 PM Small device M5StickV K210 have two buttons I think, and other larger devices that work with Krux code have more buttons. Even M5stickV has 3 buttons now. After an update, power button can be used to navigate(go back).DIY version Dock navigates using a rotary encoder. -Android: I don't know how old Androids will handle the app. As the app doesn't require anything fancy I hope it has some wide range of compatibility. I have some cheap, but not old phones to test. If you try let us know if it worked. - Linux, Windows, Mac If you have a PC running python, on any OS, by installing some requirements you can also run a very functional simulator from source code. It's a very good to start point to play with Krux code. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on February 08, 2023, 07:52:47 PM Even M5stickV has 3 buttons now. After an update, power button can be used to navigate(go back). Yeah I know, but I have to admit that buttons are not very comfortable to use, if anyone plans to use them for entering letters and seed words manually ;)DIY version Dock navigates using a rotary encoder. I don't know how old Androids will handle the app. As the app doesn't require anything fancy I hope it has some wide range of compatibility. I have some cheap, but not old phones to test. If you try let us know if it worked. I tried using Krux app with Android v4.4.2 and sadly it could not be installed on this old smartphone from year 2015.It works just fine in any newer smartphone and in android emulators. Title: Re: Krux DIY Hardware Wallet Post by: odudex on February 09, 2023, 05:08:50 PM Yes, the buttons and small screen don't make a good UX, but as M5stickV was the first Krux device and has its fans for being so tiny it will always get our attention and updates.
Amigo UX, on the other hand, is really smooth, and still has a lot of room for improvements. I'll see if I find some older phone to check if its possible to build the app for them too. Title: Re: Krux DIY Hardware Wallet Post by: odudex on April 12, 2023, 07:08:23 PM I tried using Krux app with Android v4.4.2 and sadly it could not be installed on this old smartphone from year 2015. You may try the last version. It is now compatible with armv7 chips (not only v8). I tested on a Android v6.0, it wasn't working, now it is!Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on April 12, 2023, 08:30:49 PM You may try the last version. It is now compatible with armv7 chips (not only v8). I tested on a Android v6.0, it wasn't working, now it is! I just tried latest github version Krux 23.04 BETA_3 Android_0.5 on same old junk Android 4.4.2 and I can confirm it's sadly NOT working.Error message I am getting is: There was a problem parsing the package. This is very old android device so I am not expecting any miracles :) Title: Re: Krux DIY Hardware Wallet Post by: odudex on April 13, 2023, 02:02:49 PM I just tried latest github version Krux 23.04 BETA_3 Android_0.5 on same old junk Android 4.4.2 and I can confirm it's sadly NOT working. Sorry to hear that, I believe we won't be able to go lower than Android 6.0. But the effort to lower the requirements was fruitful. Thanks for testing!Error message I am getting is: There was a problem parsing the package. This is very old android device so I am not expecting any miracles :) Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on April 14, 2023, 08:20:01 PM Sorry to hear that, I believe we won't be able to go lower than Android 6.0. But the effort to lower the requirements was fruitful. Thanks for testing! No problem, sorry for not posting screenshot/video confirmation, it took me only few minutes of testing, and I don't have any other old devices to try, so it could be related only with my device.I am glad you tried to work on that and remembered to make a post about it in forum :) Title: Re: Krux DIY Hardware Wallet Post by: Lillominato89 on April 15, 2023, 04:03:45 PM I have to make you my most sincere congratulations! you are the master of DIY hardware wallets! sooner or later I'll try to make a DIY hw, as regards the new European law on the creation of open source codes which will have to be approved on April 26, do you know if there will be problems with the krux repositories?
I am referring to this bill https://www.european-cyber-resilience-act.com/ Title: Re: Krux DIY Hardware Wallet Post by: odudex on April 16, 2023, 04:57:52 PM Thanks(in the name of all Krux contributors)! I encourage you to build them, but I warn you it is addictive, once you build one you'll want all types :)
Regarding the law, the way I see it is there's one great thing about Krux: There's no business! No consumers or clients to "be protected". We are just a few nerds having fun with code e general purpose hardware at our own risk. No one asked for trust or money, all we want are scrutiny and ideas to improve our toys ;) Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on August 21, 2023, 09:34:32 PM Krux smaller devices has 3 buttons, and the most popular, Amigo, has capacitive touch screen. I'm just replying to say that I love what you guys are doing and I'm very excited about the project. I have an Amigo on backorder, so I guess I'll be waiting for a while, but I ca't wait to give Krux a try. Is there a story behind the Krux name? Title: Re: Krux DIY Hardware Wallet Post by: kkdao on August 26, 2023, 09:40:55 PM Don't think I've came across a story for the name actually. As for your Amigo being on backorder that's too bad. Which site and continent are you ordering from if you don't mind me asking? Usually there is someone somewhere that has them in stock.
Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on August 30, 2023, 08:37:03 AM As for your Amigo being on backorder that's too bad. Actually, it looks like it should be shipping soon, so it's all good. I saw a video on Twitter where somebody ported Krux to run on an Android phone, and my jaw dropped. Could you imagine how great it would be if there was a way to repurpose old Android phones and old iPhones to run Krux or something similar? Obviously, at that point, the old phone would need to become a single-purpose device for security. But, seriously, think about how many people might buy a new phone and turn their old one into a Bitcoin transaction signer like Krux if it was easy to do. The hardware is perfect for this sort of thing. Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 01, 2023, 08:37:25 AM Actually, it looks like it should be shipping soon Ha! So much for that. I was waiting to be notified that it shipped, but it arrived in my mailbox today. NICE! My first impression was... very good. Krux seems simple with some powerful features, such as a very clean interface with SeedQR and easy access to testnet. Then, I loaded the latest binaries (https://github.com/odudex/krux_binaries/tree/main) for Krux, and... wow. Krux is awesome. I've only started to play with it, but I'm blown away. In some ways, Krux on an Amigo is the hardware wallet of my dreams. It has a decently large touchscreen (the Amigo screen is the same size as the screen on an original iPhone). It's air gapped. It has SeedQR input, and it forgets the seed the moment the device is shut down. YES! It appears to have QR input for passphrases. YES!!! Passphrase input by camera is a very big deal that deserves praise. Honestly, this feature should be in every hardware wallet with a camera. TANGENT ALERT: Somebody convinced hardware wallet manufacturers that the BIP39 passphrase is a dangerous feature, so they mostly hide it to discourage its use. What they should be doing is simplifying the setup and educating users. A strong passphrase is an incredible form of security that is unique to the user. More people should be using passphrases. I have three: One is for personal use. One is for work. And one is for testing (which rarely gets used). One seed. Three passphrases. Perfect. I've had this setup for a few years. Like I said, I just got my Amigo, so I haven't had much time to play with it yet, but Krux on an Amigo looks like it might be an amazing setup. I'm so impressed with Krux! SO IMPRESSED! Title: Re: Krux DIY Hardware Wallet Post by: n0nce on September 01, 2023, 03:45:01 PM I saw a video on Twitter where somebody ported Krux to run on an Android phone, and my jaw dropped. Simply as an app running on good ol' Google Android or actually replacing the OS and running only Krux without networking and other attack surfaces?The hardware is perfect for this sort of thing. Not really; these devices are not meant to be programmed on a low level like the microcontroller in something like M5StickV.Therefore you're usually restricted to running apps on top of a potentially highly insecure operating system, with connectivity and networking features built-in that offer zero advantages for a hardware wallet, meanwhile opening more attack surfaces. Unless you can fully replace the operating system with a custom firmware, it would be a very bad idea to repurpose an old phone for this. I've only started to play with it, but I'm blown away. In some ways, Krux on an Amigo is the hardware wallet of my dreams. It has a decently large touchscreen (the Amigo screen is the same size as the screen on an original iPhone). It's air gapped. It has SeedQR input, and it forgets the seed the moment the device is shut down. YES! It appears to have QR input for passphrases. YES!!! That sounds great! Do you want to share any pictures of it?Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 01, 2023, 09:36:50 PM Unless you can fully replace the operating system with a custom firmware, it would be a very bad idea to repurpose an old phone for this. You're right. The more I think about it, the more obvious it is that using Android hardware for Krux would require a lot of work in order to make it secure. I was just thinking out loud, since there are so many old phones just waiting to be repurposed rather than thrown out. Hell, I still own an iPhone 4 that I used to use as a bedside clock. But, yeah, it'd be a huge undertaking to make those kinds of devices truly secure for a hardware signer, whereas something like an Amigo works out of the box. It took me less than 5 minutes to get Krux up and running on an Amigo, and I could do it again in less than 2 now that I know how. That sounds great! Do you want to share any pictures of it? I don't have any yet, but I found this on Twitter (https://twitter.com/odudex/status/1662121289727787011). That's Krux running on an Amigo. Note that the text in that pic is orange. That's one of the theme options for Krux. I prefer white, and there's also an option for black text on a white background. Really, the Amigo seems like a perfect device for this. It's a chunky device, but it has a nice sized touchscreen and you'd only need it to sign transactions. Well, that and setup stuff, like creating a SeedQR. Again, I have no experience with this thing yet, other than playing with it for an hour or so... so I'm trying to keep my enthusiasm in check in case there's some fatal flaw I haven't discovered yet... but I am truly blown away by this setup. It's so simple. I wish these guys had more support though. Krux has so much potential, so I wish more people were working on it. For example, I wish each page had an "i" icon to click for more info. A touchscreen is perfect for that, especially since there are some options in the tools and settings that could be intimidating for new users, such as "Delete Mnemonic" ("Wait, didn't it get wiped out when I shut down the device?"), and at the bottom of each page's info I'd love a "Reset setting to default" option for that setting. I'm just getting started with testing Krux, but I can't overstate how enthusiastic I am about it. I've been wanting to get a SeedSigner for a while, but for my needs, this might be much better thanks to the larger screen and how they implemented the passphrase feature. Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 11, 2023, 08:25:23 PM Can any of you tell me about the encryption Krux uses for creating encrypted QR codes? Odudex, I hope you see this :)
Is Krux required to decrypt QR codes that were encrypted with Krux, or does Krux use some sort of standard such that anyone who knows the correct key and the method of encryption can still decrypt the QR codes years from now even if the Krux project no longer exists? I'm asking because encrypted QR codes seems like a brilliant idea, but it's also dangerous in terms of future-proofing if the only way to decrypt these QR codes is by using Krux. I have a full review of Krux on the way, but I'm still trying to learn more before finishing it. Here's the short review though: Krux is an amazing - and amazingly powerful - hardware wallet option which more people need to check out. Buy a Maix Amigo and install Krux on it. You'll be glad you did. Krux: https://selfcustody.github.io/krux/ Krux code on github: https://github.com/selfcustody/krux Experimental Krux binaries on github: https://github.com/odudex/krux_binaries/tree/main ...this is the version I'm running. It's very stable and polished. Title: Re: Krux DIY Hardware Wallet Post by: odudex on September 13, 2023, 12:58:30 AM Really heart warming to see your appreciation of our work on Krux!
About the app, it's very easy to install, just download the and install .apk file (and work around Android complains about not being known source) Here's the link: https://github.com/odudex/krux_binaries/tree/main/Android As the app intro screen says, it is intended for learning purposes. Can any of you tell me about the encryption Krux uses for creating encrypted QR codes? Odudex, I hope you see this :) Krux uses standard AES encryption methods, a brief explanation of encrypted QR codes can be found here:https://github.com/odudex/krux/blob/develop_rc/docs/encrypted-qr-codes.en.md The encryption for flash and SD card uses the same methods, but the data is available in json text format, so is even easier to know what to do to decrypt. I have plans to do a simple python script to encrypt/decrypt krux mnemonics from json files and QR codes without the device(it would be very simple and straight forward). The Android app is also a good emergency item to have, specially for encrypted mnemonic QR codes, as they are interoperable between all devices. It's a new and unique feature, and produces one more key to manage, so must be used with care. Krux is currently going through a change right now, I'm updating the official repository(selfcustody) with all the features you see in beta, from my repository(odudex), and a new official release is about to be done. But if you're going to do a review please consult the updated documentation from here for now: https://odudex.github.io/krux/getting-started/ Soon everything will be available on official repository: https://selfcustody.github.io/krux/getting-started/ The feeling you described about Krux is the same I felt ever since I knew it. The hardware is very well suited for the application, the project architecture and structure were very well thought by Krux's creator, Jeff, and it has a lot of potential to improve. Title: Re: Krux DIY Hardware Wallet Post by: kkdao on September 13, 2023, 02:29:15 AM Can any of you tell me about the encryption Krux uses for creating encrypted QR codes? Odudex, I hope you see this :) Is Krux required to decrypt QR codes that were encrypted with Krux, or does Krux use some sort of standard such that anyone who knows the correct key and the method of encryption can still decrypt the QR codes years from now even if the Krux project no longer exists? I'm asking because encrypted QR codes seems like a brilliant idea, but it's also dangerous in terms of future-proofing if the only way to decrypt these QR codes is by using Krux. I have a full review of Krux on the way, but I'm still trying to learn more before finishing it. Here's the short review though: Krux is an amazing - and amazingly powerful - hardware wallet option which more people need to check out. Buy a Maix Amigo and install Krux on it. You'll be glad you did. Krux: https://selfcustody.github.io/krux/ Krux code on github: https://github.com/selfcustody/krux Experimental Krux binaries on github: https://github.com/odudex/krux_binaries/tree/main ...this is the version I'm running. It's very stable and polished. For the review, since you're on birdsite, feel free to tag their new Twitter account: @selfcustodykrux Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 13, 2023, 06:47:26 AM Can any of you tell me about the encryption Krux uses for creating encrypted QR codes? Odudex, I hope you see this :) Krux uses standard AES encryption methods, a brief explanation of encrypted QR codes can be found here:https://github.com/odudex/krux/blob/develop_rc/docs/encrypted-qr-codes.en.md The encryption for flash and SD card uses the same methods, but the data is available in json text format, so is even easier to know what to do to decrypt. I have plans to do a simple python script to encrypt/decrypt krux mnemonics from json files and QR codes without the device(it would be very simple and straight forward). THAT is a fantastic idea! It would give confidence for using encrypted QRs. Krux is currently going through a change right now, I'm updating the official repository(selfcustody) with all the features you see in beta, from my repository(odudex), and a new official release is about to be done. But if you're going to do a review please consult the updated documentation from here for now: https://odudex.github.io/krux/getting-started/ When I said I'm writing a review, I meant that I wrote a long review for this thread, but I'll polish it up and share it on reddit too. I have around 15 pictures of various screens to show how intuitive the menus are, and I explained some things along the way. Krux is incredibly easy to use, especially on a Maix Amigo. One of the things I'm particularly impressed with is the ability to use QR code input for almost everything. SeedQR. Passphrase QR. If the SeedQR is encrypted, you can type the key or enter it via QR. Brilliant. The way Krux was designed is practically oozing with common sense - and I say that because most hardware wallets lack common sense when it comes to input. The idea that anyone is going to enter a 7+ word passphrase on a tiny device using up/down/select buttons... one letter at a time, every time they use the device... any developer who thinks that's a good idea is just plain foolish. Many hardware wallets even hide the passphrase feature, which discourage users from using a passphrase. Or, if they DO use one, they use a weak one which can be easily brute forced. Krux, on the other hand, makes entering a strong passphrase quick and easy. And rather than hiding the passphrase feature, Krux presents the option as soon as a seed is loaded. Simple. Common sense. Easy. I feel like I'm some kind of fanboy now, but I've been using hardware wallets for years and they've mostly left me frustrated. Even if I could comfortably use them, I had trouble recommending them. But Krux is so well designed that I want more people to try it. I just realized there's an option in "Tools" to create a hand-made QR code from any text. Holy moly, what a brilliant idea, which brings me back to my comment about how so much of Krux is designed with common sense. Everything has an option for QR input, so it just makes sense that you give the option to make QR codes for anything. Well done! A few quick thoughts: 1: There's no way to get back to the Settings and Tools options after loading a mnemonic. I learned that the hard way by lowering the touchscreen responsiveness down to 10. At 10, my Amigo went nuts with phantom clicks. I had to reboot to get back to the settings. That being said... loading a mnemonic on this thing takes less than 5 seconds, so rebooting is no biggie. Did I mention how fast and intuitive Krux is? 2: It would be helpful to make it clear what is saved on the device and what isn't. I know, for example, that a mnemonic isn't saved on flash on the device after a reboot or shutdown, but while testing I named my mnemonic "test" and I was rattled after restarting the device to see "Print Test QR" in Tools. "Wait. I thought that wasn't saved after shutdown." Then I scanned it and realized... "Oh, it's just an obvious coincidence." 3: It would be helpful to add a "Reset" option for some settings, such as Encryption. Those options could be scary for some folks. It'd be good to have a way to reset them if they get changed by somebody who is testing or... whatever... y'know? Keep up the good work, because this project is fantastic! The feeling you described about Krux is the same I felt ever since I knew it. The hardware is very well suited for the application, the project architecture and structure were very well thought by Krux's creator, Jeff, and it has a lot of potential to improve. Yeah, the Maix Amigo in particular is a perfect device for this. With a 3.5 inch touchscreen, text is very easy to see and everything is easy to interact with. I think if more people discover this project, they'll be shocked by how easy and intuitive it is. Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 13, 2023, 07:09:54 AM QUESTION:
What's the difference between these: maixpy_amigo_ips maixpy_amigo_tft And also these: ktool-mac ktool-mac-10 P.S. I just realized the Amigo needs to be plugged in using the bottom USB port for software update, not the side port. Good to know! After that, updating from the beta to v23.09.0 was easy (I used ktool-mac-10 and maixpy_amigo_tft) EDIT: I also just realized I could have updated using the micro SD card instead. Good to know! Title: Re: Krux DIY Hardware Wallet Post by: odudex on September 13, 2023, 04:43:26 PM 1: There's no way to get back to the Settings and Tools options after loading a mnemonic. I learned that the hard way by lowering the touchscreen responsiveness down to 10. At 10, my Amigo went nuts with phantom clicks. I had to reboot to get back to the settings. That being said... loading a mnemonic on this thing takes less than 5 seconds, so rebooting is no biggie. Did I mention how fast and intuitive Krux is? 2: It would be helpful to make it clear what is saved on the device and what isn't. I know, for example, that a mnemonic isn't saved on flash on the device after a reboot or shutdown, but while testing I named my mnemonic "test" and I was rattled after restarting the device to see "Print Test QR" in Tools. "Wait. I thought that wasn't saved after shutdown." Then I scanned it and realized... "Oh, it's just an obvious coincidence." 3: It would be helpful to add a "Reset" option for some settings, such as Encryption. Those options could be scary for some folks. It'd be good to have a way to reset them if they get changed by somebody who is testing or... whatever... y'know? 1: We would have to remove or change some settings (as Testnet) to offer them after a mnemonic is loaded. But yes, just press the reset button and you'll be on "Login" menu with settings after 6 seconds. 2: You do can save encrypted mnemonics on the device as well as SD card, this is optional, and you will find mnemonics you saved even after reboot on "Load Mnemonic->From Storage", and you can access them by typing or scanning the encryption key. You don't need to encrypt/save your mnemonics to use them for sign, you can just load them from external sources and it will be vanished after reboot. Your can delete saved mnemonics on "Tools->Delete Mnemonic". This feature is meant for convenience, and doesn't replace a physical backup. 3: We definitely need a "reset", I think we will first add a "Wipe Device" feature, it will remove all custom settings and saved mnemonics at once. What's the difference between these: maixpy_amigo_ips maixpy_amigo_tft And also these: ktool-mac ktool-mac-10 IPS x TFT Some Amigos ship with different displays, which use mirrored X coordinates. Most Amigos have TFT, but if you flash it and notice things are in mirrored places (ex on keypad letter "a" is on the right and letters increase towards left) then you have a IPS screen and should re-flash your amigo with IPS version. Mac version We have a lot of issues when flashing from Mac devices, so we offered two options for mac users, one built over OS version 10 other for version 11. Fortunately you didn't seem to have issues. Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 13, 2023, 07:36:12 PM Mac version We have a lot of issues when flashing from Mac devices, so we offered two options for mac users, one built over OS version 10 other for version 11. Fortunately you didn't seem to have issues. So... ktool-mac is for the latest version of Mac OS, and ktool-mac-10 is for older versions? Interesting. I'm running the very latest update but I used ktool-mac-10 and it worked perfectly. This was my install process: Code: cd downloads Make sure the Amigo is plugged in using the bottom USB port, not the side. Use Transmit app to give ktool-mac-10 permission to execute. (I use Transmit because it's an app I already have open) Code: ./ktool-mac-10 -B goE -b 1500000 maixpy_amigo_tft/kboot.kfpkg Title: Re: Krux DIY Hardware Wallet Post by: thebitcoinhole on September 14, 2023, 06:02:37 PM Hi. We have a website where comparing more than 40 different hardware wallets, feature by feature. Today We added Krux to the website.
Any feedback or correction is welcomed. https://thebitcoinhole.com/ Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 22, 2023, 09:27:56 AM Krux SERIOUSLY needs more people to give it a try.
I've been experimenting a lot with it, and the more I use it, the more I find every other hardware wallet to be really frustrating, because this thing is so intuitive and easy. And FAST. I set up an air gapped 2-of-3 multisig wallet in BlueWallet using Krux, and it took me maybe 5 minutes. It only took that long because I backed everything up as I worked, and Krux made that easy too. Just click "Extended Public Key." There will be 4 screens to tap through: info for the XPUB, then the XPUB QR, then info for the ZPUB, then the ZPUB QR. Scan the ZPUBs into BlueWallet, one seed at a time. Load a seed, get the ZPUB. Load a seed, get the ZPUB. Scan, scan, scan, done. So. Friggin'. Easy. One of my favorite features of Krux is encrypted QRs. In the Tools section, you create a QR code to use as a key. Then, when you load a seed on Krux for the first time, make an encrypted QR code for it. Krux will ask for the encryption key, which you can either type or scan. So, scan the key QR you made. Now, if somebody finds your SeedQR, they can't use it, because it's encrypted. And whenever you want to load your seed onto Krux, you'll scan the SeedQR, then Krux will ask you for the key to decrypt it, which you can either type or scan your key QR. Scan the seed. Scan the key. So. Friggin'. EASY. I'm absolutely loving Krux, running on a Maix Amigo. I got an Amigo for around $50. It has a micro SD card, and you can save seeds onto it (encrypted!) but I'm loving using this sucker air gapped and stateless. I wish this forum allowed imgur pics, because I'd rather write stuff like this and post images so you can actually see how intuitive this setup is. Krux on an Amigo is a killer combo. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on September 23, 2023, 09:24:20 PM I'm absolutely loving Krux, running on a Maix Amigo. I got an Amigo for around $50. It has a micro SD card, and you can save seeds onto it (encrypted!) but I'm loving using this sucker air gapped and stateless. M5StickV is also cool for people who like minimalist stuff, it works perfectly with Krux and I think they are also sending free sd card in package.I wish this forum allowed imgur pics, because I'd rather write stuff like this and post images so you can actually see how intuitive this setup is. Krux on an Amigo is a killer combo. Imgur worked fine for years until they change something recently, but don't worry because we have something better now and it's called Talkimg, this is bitcointalk forum dedicated service for uploding images: https://www.talkimg.com/ Title: Krux - The Super Signer (my review) Post by: Meuserna on September 23, 2023, 11:51:28 PM Krux is like a deluxe SeedSigner. Actually, it's like a "Super Signer." To use it, you'll need a third party wallet app like BlueWallet, Sparrow, or Specter. Krux is just the signer, but it's a very good one. It's by far the best I've ever used.
Quote Krux is open-source firmware that enables anyone to build their own Bitcoin signing device via off-the-shelf parts. It runs on Kendryte K210 devices such as the M5StickV and Maix Amigo, converting them into airgapped devices that can sign transactions for multisignature and single-key wallets. https://selfcustody.github.io/krux/ The M5StickV looks like a Blockstream Jade. The Maix Amigo looks more like an old iPhone, but chunky yet much lighter (because it's mostly plastic). It has a 3.5 inch touchscreen which makes using it very easy and intuitive. Here's a pic of an old iPhone and a Maix Amigo running Krux, so you can compare sizes. https://www.talkimg.com/images/2023/09/23/PUx8c.jpeg I got my Amigo for under $50 shipped. When you turn the device on, you're greeted with this page. Let's load a mnemonic seed phrase: https://www.talkimg.com/images/2023/09/23/PU0Qz.jpeg The QR Code option reads plaintext QRs, SeedQR, CompactSeedQR, and best of all, encrypted QRs which are made by Krux (Here's more info on SeedQR (https://github.com/SeedSigner/seedsigner/blob/dev/docs/seed_qr/README.md) and here's info on Krux encrypted QRs (https://github.com/odudex/krux/blob/develop_rc/docs/encrypted-qr-codes.en.md)). https://www.talkimg.com/images/2023/09/23/PUlf2.jpeg Let's load using SeedQR: https://www.talkimg.com/images/2023/09/24/PaNfW.jpeg https://www.talkimg.com/images/2023/09/23/PaX5j.jpeg It immediately asks for a passphrase. Using a passphrase with Krux is incredibly easy and convenient. Just type it in, or scan a QR. https://www.talkimg.com/images/2023/09/23/PawRD.jpeg Let's load a passphrase from a QR code which I just made for this demo: https://www.talkimg.com/images/2023/09/23/PaHeZ.jpeg Krux asks if we're doing singlesig or multisig. https://www.talkimg.com/images/2023/09/23/PaA1f.jpeg Krux makes finding info so easy. I'm really impressed. https://www.talkimg.com/images/2023/09/23/PaMIN.jpeg https://www.talkimg.com/images/2023/09/23/Pam7a.jpeg https://www.talkimg.com/images/2023/09/23/PaPUo.jpeg This is the main menu after loading a seed. Like I said, all of the info is so easy to find. https://www.talkimg.com/images/2023/09/23/PaRTT.jpeg Clicking "Mnemonic" gives these options to see the seed words, QR codes, etc. https://www.talkimg.com/images/2023/09/23/PaZQ8.jpeg Want to make a SeedQR? It's easy, especially thanks to the large screen. https://www.talkimg.com/images/2023/09/24/PaNfW.jpeg https://www.talkimg.com/images/2023/09/23/Panf3.jpeg It's so intuitive, and the large touchscreen makes it easy. https://www.talkimg.com/images/2023/09/23/PaCKw.jpeg Does Krux do Testnet? You bet. "Network" means Bitcoin Mainnet or Testnet. https://www.talkimg.com/images/2023/09/23/PaUAP.jpeg I especially appreciate that the word "test" stays on the screen when you're using Testnet, to help avoid making any mistakes. Well done! https://www.talkimg.com/images/2023/09/23/PauUG.jpeg Krux has lots of features, such as the ability to save encrypted mnemonics on a microSD card or as an encrypted QR, which requires a password to be decrypted, and it walks you through the steps of using a SeedQR template to make a physical copy of the QR code. It's slick. https://www.talkimg.com/images/2023/09/24/PaNfW.jpeg https://www.talkimg.com/images/2023/09/24/PaEKJ.jpeg I cannot say this enough: I'm so impressed by Krux, and I hope more people give it a try. Quite frankly, I wish more people would get involved with this project to push development forward, because this thing is amazing. If somebody made high end hardware for this and released it for $200, the hype would be insane. Krux is a fantastic project. https://www.talkimg.com/images/2023/09/23/PaGA9.jpeg I'm very sure. YES! P.S. Here are a few links: Krux: https://selfcustody.github.io/krux/ Krux code on github: https://github.com/selfcustody/krux Experimental Krux binaries on github: https://github.com/odudex/krux_binaries/tree/main Krux on whatever the heck Twitter is these days: https://twitter.com/selfcustodykrux Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 23, 2023, 11:53:08 PM Uhm... apparently I messed up the image formatting? I used BB code. Why is it showing links instead of the images?
Title: Re: Krux - The Super Signer (my review) Post by: JayJuanGee on September 24, 2023, 12:57:40 PM Krux is like a deluxe SeedSigner. Actually, it's like a "Super Signer." To use it, you'll need a third party wallet app like BlueWallet, Sparrow, or Specter. Krux is just the signer, but it's a very good one. It's by far the best I've ever used. Quote Krux is open-source firmware that enables anyone to build their own Bitcoin signing device via off-the-shelf parts. It runs on Kendryte K210 devices such as the M5StickV and Maix Amigo, converting them into airgapped devices that can sign transactions for multisignature and single-key wallets. https://selfcustody.github.io/krux/ The M5StickV looks like a Blockstream Jade. The Maix Amigo looks more like an old iPhone, but chunky yet lighter. It has a 3.5 inch touchscreen which makes using it very easy and intuitive. I got my Amigo for under $50 shipped. https://www.talkimg.com/images/2023/09/23/PUx8c.jpeg When you turn the device on, you're greeted with this page. Let's load a mnemonic seed phrase: https://www.talkimg.com/images/2023/09/23/PU0Qz.jpeg The QR Code option reads plaintext QRs, SeedQR, CompactSeedQR, and best of all, encrypted QRs which are made by Krux (Here's more info on SeedQR (https://github.com/SeedSigner/seedsigner/blob/dev/docs/seed_qr/README.md) and here's info on Krux encrypted QRs (https://github.com/odudex/krux/blob/develop_rc/docs/encrypted-qr-codes.en.md)). https://www.talkimg.com/images/2023/09/23/PUlf2.jpeg Let's load using SeedQR: https://www.talkimg.com/images/2023/09/24/PaNfW.jpeg https://www.talkimg.com/images/2023/09/23/PaX5j.jpeg It immediately asks for a passphrase. Using a passphrase with Krux is incredibly easy and convenient. Just type it in, or scan a QR. https://www.talkimg.com/images/2023/09/23/PawRD.jpeg Let's load a passphrase from a QR code which I just made for this demo: https://www.talkimg.com/images/2023/09/23/PaHeZ.jpeg Krux asks if we're doing singlesig or multisig. https://www.talkimg.com/images/2023/09/23/PaA1f.jpeg Krux makes finding info so easy. I'm really impressed. https://www.talkimg.com/images/2023/09/23/PaMIN.jpeg https://www.talkimg.com/images/2023/09/23/Pam7a.jpeg https://www.talkimg.com/images/2023/09/23/PaPUo.jpeg This is the main menu after loading a seed. Like I said, all of the info is so easy to find. https://www.talkimg.com/images/2023/09/23/PaRTT.jpeg Clicking "Mnemonic" gives these options to see the seed words, QR codes, etc. https://www.talkimg.com/images/2023/09/23/PaZQ8.jpeg Want to make a SeedQR? It's easy, especially thanks to the large screen. https://www.talkimg.com/images/2023/09/24/PaNfW.jpeg https://www.talkimg.com/images/2023/09/23/Panf3.jpeg It's so intuitive, and the large touchscreen makes it easy. https://www.talkimg.com/images/2023/09/23/PaCKw.jpeg Does Krux do Testnet? You bet. "Network" means Bitcoin Mainnet or Testnet. https://www.talkimg.com/images/2023/09/23/PaUAP.jpeg I especially appreciate that the word "test" stays on the screen when you're using Testnet, to help avoid making any mistakes. Well done! https://www.talkimg.com/images/2023/09/23/PauUG.jpeg Krux has lots of features, such as the ability to save encrypted mnemonics on a microSD card or as an encrypted QR, which requires a password to be decrypted, and it walks you through the steps of using a SeedQR template to make a physical copy of the QR code. It's slick. https://www.talkimg.com/images/2023/09/24/PaNfW.jpeg https://www.talkimg.com/images/2023/09/24/PaEKJ.jpeg I cannot say this enough: I'm so impressed by Krux, and I hope more people give it a try. Quite frankly, I wish more people would get involved with this project to push development forward, because this thing is amazing. If somebody made high end hardware for this and released it for $200, the hype would be insane. Krux is a fantastic project. https://www.talkimg.com/images/2023/09/23/PaGA9.jpeg I'm very sure. YES! P.S. Here are a few links: Krux: https://selfcustody.github.io/krux/ Krux code on github: https://github.com/selfcustody/krux Experimental Krux binaries on github: https://github.com/odudex/krux_binaries/tree/main Krux on whatever the heck Twitter is these days: https://twitter.com/selfcustodykrux Uhm... apparently I messed up the image formatting? I used BB code. Why is it showing links instead of the images? Thanks for posting those various images.. and also providing some descriptions for what you are intending to show with each of them. In order for images to show on your posts, you either need to buy a copper membership or your forum rank needs to be higher.. I think that "member" level allows the showing of images, and your rank is still showing as newbie.. even though it seems that your rank should be Jr member soon.. and also you have been receiving quite a few smerits that should cause your account to ranking up to "jr member" and then to "member" rank fairly soon. My citing of your post facilitates the showing of your images, and to make your images more reader-friendly, I resized your images down a bit (you can see that I added "width=444" to the html). Title: Re: Krux DIY Hardware Wallet Post by: odudex on September 24, 2023, 02:43:23 PM Thank you Meuserna! Really cool this walk through guide! Loved the photos (without reflections)! This kind of content is really helpful for the project and for people who still don't know Krux and how it can be useful for them!
Thank you JayJuanGee for make it possible the pictures to show up among text! Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on September 24, 2023, 08:11:39 PM Thank you Meuserna! Really cool this walk through guide! Loved the photos (without reflections)! This kind of content is really helpful for the project and for people who still don't know Krux and how it can be useful for them! Thank you JayJuanGee for make it possible the pictures to show up among text! +1 for JayJuanGee! Thanks!!! I think projects like Krux are some of the most important things going on in the DIY movement for Bitcoin. The attention to detail, especially in terms of being intuitive, is incredible. It doesn't matter how powerful a hardware wallet is if it's too complicated to use, but you folks are making self custody easy because your setup is so intuitive. There's no wacky setup to learn or extra hoops to jump through in order to use it. I use it like this: Scan my encrypted seed. Scan my decryption key. Scan my passphrase. Done. So slick. So quick. So easy. That's the way the future of self custody needs to be, and you're showing the way. Title: Re: Krux DIY Hardware Wallet Post by: odudex on September 25, 2023, 07:13:35 PM Keep is simple is one of our main goals.
The 3 QR codes method you described makes a cheap, quick and easy to use equivalent to a 3:3 multisig. Sorry about saying the obvious, but is always good to remind, as any x:x multisig if you loose one of the secrets you'll be doomed, please back up them carefully. Each individual will have his ideal setup, but what freight me the most is to lose the key, so it's a good idea to have redundancies of these secrets. Title: Re: Krux DIY Hardware Wallet Post by: miner9problems on October 30, 2023, 01:06:56 AM I just started playing with Krux I installed on a Maix Amigo and I absolutely cannot get it it to scan an animated QR code from Bluewallet. Started a multisig tx on Bluewallet and trying to get the Krux to sign it and it just won’t read the QR via camera. Any tips?
Title: Re: Krux DIY Hardware Wallet Post by: Pmalek on October 31, 2023, 04:48:18 PM I just started playing with Krux I installed on a Maix Amigo and I absolutely cannot get it it to scan an animated QR code from Bluewallet. Started a multisig tx on Bluewallet and trying to get the Krux to sign it and it just won’t read the QR via camera. Any tips? Is it producing any errors after scanning or is it not scanning at all?The FAQ section on https://selfcustody.github.io/krux/faq/ has a few suggestions regarding QR codes. Please read those and see if that helps. For instance, Why isn't Krux scanning my QR code? (https://selfcustody.github.io/krux/faq/#why-isnt-krux-scanning-my-qr-code), Why am I getting an error when I try to scan a QR code? (https://selfcustody.github.io/krux/faq/#why-am-i-getting-an-error-when-i-try-to-scan-a-qr-code), and Why can't my computer read the QR code that Krux displays? (https://selfcustody.github.io/krux/faq/#why-cant-my-computer-read-the-qr-code-that-krux-displays) Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on October 31, 2023, 08:08:07 PM I just started playing with Krux I installed on a Maix Amigo and I absolutely cannot get it it to scan an animated QR code from Bluewallet. Started a multisig tx on Bluewallet and trying to get the Krux to sign it and it just won’t read the QR via camera. Any tips? Not all QR codes are made equal :PIf you don't find any solution on Krux github page than try asking for help in Krux telegram group (https://t.me/SC_Krux), they usually reply on questions there. Title: Re: Krux DIY Hardware Wallet Post by: odudex on November 14, 2023, 07:46:01 PM I just started playing with Krux I installed on a Maix Amigo and I absolutely cannot get it it to scan an animated QR code from Bluewallet. Started a multisig tx on Bluewallet and trying to get the Krux to sign it and it just won’t read the QR via camera. Any tips? Blue sometimes has bugs, where QR codes merge with dark background, other times the QR would get corrupted if you switch to another app then come back. Some tips that may help: - Use Blue on light mode (avoid dark mode) - Use Nunchuk instead of Blue - Use anti-glare mode on Krux (press down button on the lateral of the device while scanning to activate anti-glare) Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on November 15, 2023, 02:15:26 AM I just started playing with Krux I installed on a Maix Amigo and I absolutely cannot get it it to scan an animated QR code from Bluewallet. Started a multisig tx on Bluewallet and trying to get the Krux to sign it and it just won’t read the QR via camera. Any tips? Have you tried using the Legacy URV1 QR option in BlueWallet, under Settings, General? I have that turned off and I haven't had a problem with BlueWallet's QRs, but I did have trouble with animated QRs from some other app while testing Krux - sorry I can't remember which though. For now, BlueWallet is my favorite companion app with Krux, though I need to spend more time with Sparrow too. I hope you can figure it out, because Krux with an Amigo is by far the most user friendly hardware wallet (signer, really) that I've tried, and with user friendliness comes safety because intuitive design leads to fewer mistakes in my opinion. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on December 25, 2023, 09:00:07 PM In Third Wave of Bitcoin Grants there was a good news for Krux wallet, that is one of the ten projects who received grants from OpenSats!
Other Bitcoin projects that received grants are Clams, Fully Noded, Validating Lightning Signer, Fedimint Lightning Gateway, Pickhardt Payments plugin for Core-Lightning, BitBanana, Crack the Orange, Bitcoin Core App and Vexl. Quote Krux is a free and open-source firmware that enables anyone to build their own Bitcoin signing device via off-the-shelf parts. It runs on Kendryte K210 Risk-V-based devices such as the M5StickV and Maix Amigo, converting them into air-gapped devices that can sign transactions for single and multisig wallets. Krux can also sign messages and has easy-to-use tools to help with the creation and loading of wallet backups. https://opensats.org/blog/bitcoin-grants-december-2023Users can choose to buy a ready-to-use device—where all they need is to flash the firmware—or make a DIY version themselves. Krux can also run, mainly for educational purposes, on PCs and Android devices. In other news related with Krux. For people who don't know how to flash device and install firmware manually, not there is Krux installer first stable version 0.0.1: https://github.com/selfcustody/krux-installer/releases/tag/v0.0.1 Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on January 01, 2024, 06:36:30 AM In Third Wave of Bitcoin Grants there was a good news for Krux wallet, that is one of the ten projects who received grants from OpenSats! Other Bitcoin projects that received grants are Clams, Fully Noded, Validating Lightning Signer, Fedimint Lightning Gateway, Pickhardt Payments plugin for Core-Lightning, BitBanana, Crack the Orange, Bitcoin Core App and Vexl. Quote Krux is a free and open-source firmware that enables anyone to build their own Bitcoin signing device via off-the-shelf parts. It runs on Kendryte K210 Risk-V-based devices such as the M5StickV and Maix Amigo, converting them into air-gapped devices that can sign transactions for single and multisig wallets. Krux can also sign messages and has easy-to-use tools to help with the creation and loading of wallet backups. https://opensats.org/blog/bitcoin-grants-december-2023Users can choose to buy a ready-to-use device—where all they need is to flash the firmware—or make a DIY version themselves. Krux can also run, mainly for educational purposes, on PCs and Android devices. In other news related with Krux. For people who don't know how to flash device and install firmware manually, now there is Krux installer first stable version 0.0.1: https://github.com/selfcustody/krux-installer/releases/tag/v0.0.1 That's FANTASTIC! Congrats to everybody at Krux. They deserve recognition for such an amazing project. For anybody reading along who isn't familiar, pick up a Maix Amigo for around $50 and you've got a touchscreen open source airgapped hardware wallet that is incredibly intuitive and easy to use. While so many hardware wallets hide features like passphrases, zpubs, receive & change addresses, etc, Krux makes all of that stuff - and more - easy to find. Oh, and did I mention encrypted QRs? The large touchscreen on the Maix Amigo is perfect for Krux. Cheap too. I got mine for $50. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on January 02, 2024, 05:20:52 PM For anybody reading along who isn't familiar, pick up a Maix Amigo for around $50 Maix Amigo is often out of stock and even if you manage to find it on other websites you will probably have to pay more than $50 for it.Few years ago I was able to find M5stickV for less than $30, and situation was probably similar for Maix Amigo in that time. I heard Krux team is now working on porting code to some new EPS32 devices. Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on January 02, 2024, 09:20:28 PM For anybody reading along who isn't familiar, pick up a Maix Amigo for around $50 Maix Amigo is often out of stock and even if you manage to find it on other websites you will probably have to pay more than $50 for it.I just picked up a second Amigo for $50, shipped, two weeks ago. They're not that hard to find. Well, I'm sure stock comes and goes, so maybe I was just lucky? AliExpress has them (https://www.aliexpress.us/item/3256804810156402.html?spm=a2g0o.productlist.main.1.569d24ddi1KGe7&algo_pvid=04d0fc89-c8c5-4a28-8102-e12ca72f6484&algo_exp_id=04d0fc89-c8c5-4a28-8102-e12ca72f6484-0&pdp_npi=4%40dis%21USD%2168.80%2148.16%21%21%2168.80%21%21%40210323f717042299094308567e6026%2112000031287656615%21sea%21US%210%21AB&curPageLogUid=84OCmRicHcUI) for $48, plus $3 shipping. It'll take a few weeks in the mail, which is never fun, but it's worth the wait. I love that the Amigo comes with a plastic box, which is a great way to store it when not in use. Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on January 03, 2024, 03:58:19 PM AliExpress has them (https://www.aliexpress.us/item/3256804810156402.html?spm=a2g0o.productlist.main.1.569d24ddi1KGe7&algo_pvid=04d0fc89-c8c5-4a28-8102-e12ca72f6484&algo_exp_id=04d0fc89-c8c5-4a28-8102-e12ca72f6484-0&pdp_npi=4%40dis%21USD%2168.80%2148.16%21%21%2168.80%21%21%40210323f717042299094308567e6026%2112000031287656615%21sea%21US%210%21AB&curPageLogUid=84OCmRicHcUI) for $48, plus $3 shipping. Yeah I know, but aliexpress is not an option for me right now since they refuse to accept my cards after last refund I requested from them for their shitty service and for not receiving what I ordered :PDevice is also not available on official website or on ebay, and all other website I found have much higher price, so I will just pass. Another thing I heard from other users is their screen is not the best, and it's easy to get malfunctioned or broken. Title: Re: Krux DIY Hardware Wallet Post by: odudex on January 03, 2024, 09:43:10 PM About the Opensats grant:
It is important to mention that, as Krux creator (Jeff) wants, grants won't go to the project. This one will be for me, to support my work on the project on semester 2024/1. As Krux has more contributors, both OpenSats and me encourage each one to apply individually for grants, if this is something the contributor aims for. Krux will never ask for donations or manage funds. It won't be an institution neither have a manager. Having that said, it will help me a lot and I'm excited to retribute to the community. Amigo's quality: From what I know, the quality control is not the best, I've seen some issues with camera (most of them fixed with firmware optimizations, next release will have more of them), I've heard of things like a imprecise touchscreen, a screen with 2 burnt pixels rows. It still amazes me how they can sell a so powerful and featured device so cheap. I have 4 Amigos, the only issue I had with one of them is a weird power manager behavior, but I still believe it may be possible to fix it with firmware. Some components, like the power manager IC, don't have a English datasheet, so it makes it harder to develop proper firmware. Porting to Other Devices: I have the goal to port Krux to another device on this semester, it may be an ESP32. But ESP32s are too weak to run video applications. Jade got QR codes signing working with pure C, on a tiny screen. But with Micropython, in larger screens, I would say it is almost impossible to make it work. An Amigo's competitor like LILYGO® T-Display-S3-Pro costs the same as Amigo, but the MCU has ~half processing power, the screen is smaller, the camera is worse (the same as Amigos's frontal camera). One possibility to run Krux on cheap and available ESP32s is to make a "blind Krux" version that works with SD cards as the only way to sign PSBTs. Other port possibilities are OpenMV's Cam H7 and Arduinos Portenta and Nicla Vision. Running with ARM on ST MCUs at 480MHz, these devices are compatible with openMV, which make them very suitable to run Krux. The problem is that, with cameras and displays, these devices will cost 2 or 3 times an Amigo. There are also other cheap and powerful RISCV devices, like Milk-V and Sipeed's M1sDock but they lack Micropython support and documentation. Effort will be required to enable cheaper signers. I'll be on it, I know Keith from SeedSigner will be too on his Micropython research. Soon boards with better chips will be launched, like ESP32 P4 and Amigo's K210 successor, the Kendryte K230. Let's keep improving with them! Title: Re: Krux DIY Hardware Wallet Post by: n0nce on January 03, 2024, 10:05:46 PM Amigo's quality: The cool thing about repurposing these types of devices is that the hardware is often subsidized through the software. I.e. users 'pay off' the hardware through their software-/in-app/similar purchases. So if you can re-flash them with something custom, you sometimes get hardware at an incredible value.[...] It still amazes me how they can sell a so powerful and featured device so cheap. Now that I think about it, I'm actually not sure if this devices comes with some proprietary software ecosystem; I might be mixing stuff up. Some components, like the power manager IC, don't have a English datasheet, so it makes it harder to develop proper firmware. Feel free to send them (part numbers and / or datasheets) to me in direct messages; I might be able to work something out on that front.Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on January 03, 2024, 10:38:01 PM It is important to mention that, as Krux creator (Jeff) wants, grants won't go to the project. This one will be for me, to support my work on the project on semester 2024/1. You deserve it. The work you're doing is phenomenal. It was one of your betas that got me to buy an Amigo and start using Krux and I've been a huge Huge massively HUGE fan ever since. You're making rock solid security easy, and I cannot overstate how important that is. Thank you for the work you're doing. As for the Maix Amigo... The quality of Amigo hardware isn't the best, but it'd be RIDICULOUS for anybody to compare a $50 device to a luxe $1,000 metal and glass device like an iPhone. I paid less for my Amigos than I paid for a Blockstream Jade, and the quality is higher, not to mention the usefulness of that huge touchscreen. Krux on an Amigo is such a killer combo. The only thing holding this project back is that more people don't know about it. Everyone I've introduced to Krux on an Amigo has been blown away by how easy and intuitive it is. Amigo's quality: It still amazes me how they can sell a so powerful and featured device so cheap. I have 4 Amigos, the only issue I had with one of them is a weird power manager behavior, but I still believe it may be possible to fix it with firmware. I have 2 Amigos, and I'm experiencing that issue - or something like it - with one of them. It's weird, actually. My first Amigo had trouble turning on. Sometimes it wouldn't power up until I plugged it in via usb even though the battery was fully charged. But, for reasons I do not understand, that issue went away and hasn't been an issue since. Maybe updating Krux firmware solved it? I don't know, but my first Amigo has been flawless ever since. My second Amigo has the power issue. When I turn it on, a light on the back (or maybe inside the device?) flashes, but it doesn't power up. The only way to get it to turn on is to plug it in via usb, but once it's on it doesn't need to be plugged in. It's not a problem for me since the device works perfectly otherwise. And speaking of owning more than one Amigo... I love that Krux offers different color themes. At first, I thought that feature was silly, but now that I have 2 Amigos, I like using a different theme for each to make it easier to keep track of which is which. Title: Re: Krux DIY Hardware Wallet Post by: kkdao on January 03, 2024, 11:17:15 PM AliExpress has them (https://www.aliexpress.us/item/3256804810156402.html?spm=a2g0o.productlist.main.1.569d24ddi1KGe7&algo_pvid=04d0fc89-c8c5-4a28-8102-e12ca72f6484&algo_exp_id=04d0fc89-c8c5-4a28-8102-e12ca72f6484-0&pdp_npi=4%40dis%21USD%2168.80%2148.16%21%21%2168.80%21%21%40210323f717042299094308567e6026%2112000031287656615%21sea%21US%210%21AB&curPageLogUid=84OCmRicHcUI) for $48, plus $3 shipping. Yeah I know, but aliexpress is not an option for me right now since they refuse to accept my cards after last refund I requested from them for their shitty service and for not receiving what I ordered :PDevice is also not available on official website or on ebay, and all other website I found have much higher price, so I will just pass. Another thing I heard from other users is their screen is not the best, and it's easy to get malfunctioned or broken. Title: Re: Krux DIY Hardware Wallet Post by: odudex on January 04, 2024, 07:52:50 PM The cool thing about repurposing these types of devices is that the hardware is often subsidized through the software. I.e. users 'pay off' the hardware through their software-/in-app/similar purchases. So if you can re-flash them with something custom, you sometimes get hardware at an incredible value. Now that I think about it, I'm actually not sure if this devices comes with some proprietary software ecosystem; I might be mixing stuff up. Feel free to send them (part numbers and / or datasheets) to me in direct messages; I might be able to work something out on that front. The manufacturer(Sipeed) does not have a proprietary ecosystem, but a fork of opensource ecosystems (Micropython + OpenMV). OpenMV does have their own hardware, which probably subsidizes the software development, so unless Sipeed donates to openMV it could be considered unfair with OpenMV. The component we're having issues with is AXP173 PMU, you can find more details about the issue in a post I made here: https://forum.seeedstudio.com/t/maix-amigo-wake-from-sleep-wont-work-in-some-devices-axp173-pmu/273808 Title: Re: Krux DIY Hardware Wallet Post by: odudex on January 04, 2024, 07:56:05 PM My second Amigo has the power issue. When I turn it on, a light on the back (or maybe inside the device?) flashes, but it doesn't power up. The only way to get it to turn on is to plug it in via usb, but once it's on it doesn't need to be plugged in. It's not a problem for me since the device works perfectly otherwise. Thank you for your feedback! I hope we find a solution for this and we all have a better UX with Amigo!Title: Re: Krux DIY Hardware Wallet Post by: odudex on January 23, 2024, 02:55:09 AM Power button issues reported above should be solved on version 24.04beta14.
Now after shutdown via menu, to turn it on again, for all devices, it's only necessary to hold power button for 1 second. Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on January 23, 2024, 06:35:07 AM Power button issues reported above should be solved on version 24.04beta14. Now after shutdown via menu, to turn it on again, for all devices, it's only necessary to hold power button for 1 second. Yup. That solved it for me. I own 2 Amigos. One of them has this weird power bug & one doesn't. When powering on the Amigo that DOES have this bug, the device always does a strange flash of light from the back (is that a flashlight below the rear camera, or is it just a bright LED?). It used to flash a blip of white light, and then nothing. Now, with your fix, it flashes with a blip of white light from the rear of the device, and then powers on. When powering on my other Amigo which DOESN'T have this bug, it just powers up - there's no flash/blip of white light from the back of the device. Oh, and nice, you've added a screensaver since I last updated (or maybe I just haven't left my Amigo running idle). It's been sitting on my desk as I type this, and the screensaver just came on. Well done. The option to Wipe Device is a nice addition too. You're doing such great work. Krux is fantastic. Title: Re: Krux DIY Hardware Wallet Post by: odudex on January 23, 2024, 02:47:27 PM Amigos have a strong white LED flash light in the back, when scanning QR codes you can press ENTER physical button to turn it on. Can be useful to scan paper QR codes in dark environments.
I noticed some of them blink when starting up. It's probably due to a random state of IOs while the device is getting powered up. Sipeed should have used a pull down resistor on the LED transistor driver gate(I checked the schematics and it is missing). Maybe there's a firmware hack to avoid this glitch, but I wouldn't worry about it. The behavior changed on beta14 because now Amigos go to a deeper level o "shutdown". Another dev, Tadeu created the screensaver. On beta14 I did some optimizations for it to use less resources too. It's useful to grab your attention and don't forget to turn the device off. Glad you liked the changes! Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on January 24, 2024, 11:29:02 PM Can I do a feature request here?
I'd love to see BIP85 added to Krux. I'm currently using a Blockstream Jade for BIP85, but Jade, just like all of the devices I've found that do BIP85, makes the process incredibly cumbersome. I'd be thrilled to see a Krux implementation where, using the loaded seed as a parent seed, the user inputs a BIP85 index number & chooses whether they want a 12 or 24 word child seed, and they're given the child seed's seed words and options to save them (QR, encrypted QR, save to micro SD). Title: Re: Krux DIY Hardware Wallet Post by: dkbit98 on January 25, 2024, 07:05:18 PM Can I do a feature request here? You can, but it's better to also do it on telegram or on their social media accounts, to get quicker response.Since you are asking about that, I would like to ask for adding support for Liquid Network assets (L-BTC, L-USDT, etc) in Krux, and that would mean support for Aqua wallet. Right now as far as I know Liquid supported wallets are Jade, Ledger nano s, Specter, Aqua and Green wallet. Title: Re: Krux DIY Hardware Wallet Post by: qlrd on March 14, 2024, 04:56:12 PM Hi, qlrd here (krux-installer developer). I am writing this post to share the new Krux releases:
Krux v24.03.0 https://github.com/selfcustody/krux/releases/tag/v24.03.0 This release focuses on internal optimizations to enhance the firmware's performance, making it lighter, faster, and more reliable. These improvements not only result in a better user experience but also lay the groundwork for seamlessly integrating future features - Wipe Device (Fully erase every bit of user’s space memory)- Better Deletion of Mnemonics Stored on SD card - Save and Load Wallet Output Descriptor from SD card- Sign Messages at a Derived Bitcoin address (Attest address ownership) - Reproducible Builds (Identical firmwares built on Github or any PC)- Entropy Quality Estimation for Mnemonic Creation. - IRQ Interfaces (Better touch and buttons input response)- Restore Default Settings - Optimized Settings Storage- Amigo's Power Manager Enhancements - GUI Enhancements- Mnemonic Numbers Export - Optimized QR codes (Faster and lighter rendering)- Export QR Codes as Images to SD Card - Screensaver- Addresses Exploring Improvements - Update Embit to version 0.7- Maix Dock Simulator - New Compatible Device – Yahboom K210 Module- Join Amigo IPS and Amigo TFT firmwares - Many Other Small Fixes and Code Optimizations that make Krux morereliable and able to sign transactions with more inputs and outputs. Krux-Installer v0.0.12 https://github.com/selfcustody/krux-installer/releases/tag/v0.0.12 This release will follow new features of krux firmware: - Now maixpy_amigo_tft and maixpy_amigo_ips are unified as maixpy_amigo; - Added maixpy_yahboom in device list for both official and beta releases; - Added maixpy_cube in device list (only for beta releases); Title: Re: Krux DIY Hardware Wallet Post by: Meuserna on March 14, 2024, 07:18:03 PM The new QR viewer option for dim/bright is FANTASTIC. I haven't had time to fully test it yet, but I assume the less-bright option is going to make scanning QR codes much easier. Love it!
I can't say enough good things about the work you folks are doing. I'm so glad o have found this project last year. EDIT: Ooh, I missed this: Quote Sign Messages at a Derived Bitcoin address Love it.Sign messages from Sparrow and Specter, via QR code, also attesting a Bitcoin address belongs to you. Title: Re: Krux DIY Hardware Wallet (Unofficial) Post by: selfcustodykrux on June 04, 2024, 09:13:25 PM Krux wallet is turning any M5StickV device into an airgapped hardware wallet. I knew before that M5Sticks are great for making DIY wallets like this but just now I noticed model M5StickV that is great because it has built in camera and battery, and there is no WiFi or Bluetooth connection. It is fully Open Source, written in MicroPython and it is using QR codes for communication with other devices. This is still fully functional wallet but it is still in alpha testing so please report any bugs you notice to developer or his Krux github page. Krux wallet is not generating seed words so this should be done manually offline and you can import them yourself or with QR code. Shopping list: - M5StickV (https://shop.m5stack.com/products/stickv) ~ $30 - $50 (included with screen, camera, buttons and battery) - MicroSD card (https://github.com/m5stack/m5-docs/blob/master/docs/en/core/m5stickv.md#tf-cardmicrosd-test) Code: - Krux Wallet github (https://github.com/jreesun/krux-wallet) (by Jeff jreesun ) - Firmware, Requirements, Building, Installing (https://github.com/jreesun/krux-wallet/tree/main/firmware) Website with step by step installation guide: https://selfcustody.github.io/krux/ For support installing, using Krux wallet or any other questions you can visit https://matrix.to/#/#krux:matrix.org Krux Android App for testing: https://github.com/odudex/krux_binaries/tree/main/Android Use at your own risk and only store coins you are willing to lose! Hi! Any chance you can change this: For support installing, using Krux wallet or any other questions you can visit https://matrix.to/#/#krux:matrix.org To this: For support installing, using Krux wallet or any other questions you can visit https://t.me/SC_Krux Cheers |