Skip to content

Add qrcode support for BIP38, WIF and stealth #330

Open

Description

@skaht

Title is self explanatory.

Should also support stealth addresses.

Activity

  1. changed the title [-]qrcode should support BIP38 and WIF private keys[/-] [+]qrcode support for BIP38 and WIF keys[/+] on Apr 4, 2016
  2. changed the title [-]qrcode support for BIP38 and WIF keys[/-] [+]qrcode support for BIP38, WIF and stealth[/+] on Apr 4, 2016
  3. skaht commented on Apr 4, 2016

    @skaht
    ContributorAuthor

    Note the qrcode should also support altcoins. This creates an ambiguity for -v used by altcoins.

  4. evoskuil commented on Apr 4, 2016

    @evoskuil
    Member

    Given that the encoding accepts a payment address, altcoin versioning is already incorporated. As ek, wif and stealth are not payment addresses they are not supported. The qrcode version remains necessary and independent of these altcoin versions, as they are attached to distinct commands.

  5. added this to the 4.0 milestone on May 12, 2016
  6. changed the title [-]qrcode support for BIP38, WIF and stealth[/-] [+]Add qrcode support for BIP38, WIF and stealth[/+] on May 18, 2016
  7. thecodefactory commented on Aug 16, 2018

    @thecodefactory
    Member

    Given the various types of formats requested, would it make sense to extend bx to have two additional qr commands such as base16-qr-encode and base58-qr-encode that take arbitrary inputs that are properly encoded and offers all of the options otherwise available on qrcode?

  8. evoskuil commented on Aug 16, 2018

    @evoskuil
    Member

    If so I wouldn't use those names :) It sounds to me that there is a desire to create qr codes from arbitrary data. This implies a standard data format and a single command to convert that format to an image file. We already have various data formatting options. Those could presumably be applied to the outputs of relevant commands.

  9. thecodefactory commented on Aug 16, 2018

    @thecodefactory
    Member

    Heh, command naming is not a strength of mine :-)

    I can personally see the benefit of being able to generate qrcodes for BIP38 encrypted keys, and we already support payment addresses. WIF and stealth (as requested) could be useful too. Unless I'm missing something, I think we could agree on a common base58 format. The qrcode command is already used to convert payment addresses to an image file, so maybe we just need to loosen up the input from payment_address to base58? That does lose the advantage of making sure in the payment case, it's actually a correct payment address though, which might be a fair reason to keep it separate. Not sure.

  10. evoskuil commented on Aug 17, 2018

    @evoskuil
    Member

    Why base58 encoding?

  11. thecodefactory commented on Aug 17, 2018

    @thecodefactory
    Member

    Why base58 encoding?

    There are existing tools for sending to (and retrieving from) QR codes representing base58(check) payment addresses and also importing encrypted BIP38 keys (also in that encoding). Seemed like a decent way to go about it?

    I can't really speak to WIF or stealth, as I'm not sure of how useful QR codes would be for those in general.

  12. thecodefactory commented on Aug 17, 2018

    @thecodefactory
    Member

    Ok, so with the exception of stealth (just because I don't know much about them), I guess they're all base58(check) encoded, which seems ok ... ?

  13. removed this from the 4.0 milestone on Jan 3, 2019
  14. evoskuil commented on Mar 6, 2021

    @evoskuil
    Member

    Stealth is now moot and dropped from v4 server indexing (the linear search would be a problem is it was in fact widely used), but keeping this open for the other formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions