Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    sorabot
    @sorabot
    [discord] <Yashraj> Previously I executed it in windows CMD.
    [discord] <liralemur> Oh, I see. Windows in this case has a lot of surprises and challenges. Unix is generally a more robust way here. Great idea to switch to Ubuntu!
    sorabot
    @sorabot

    [telegram] <Sara> Forwarded from Hyperledger Iroha news: Let's meet for our community call in an hour!

    Updates from both Irohas, opportunity to ask questions if you have any or simply meet the maintainers :)

    Just jump in at noon CET: https://zoom.us/my/hyperledger.community.3
    Password: 475869

    sorabot
    @sorabot
    [telegram] <Stepan> Hi. How safe would it be to use the gRPC-web wrapper to use http/1.1? example: https://github.com/grpc/grpc-web (https://github.com/grpc/grpc-web) (re @♌︎ Leo: Maybe u should consider wrapping the iroha api as a web service and call from your client. Do note that the iroha JS library for browser doesn't support GRPC natively, you still need a GRPC proxy to bridge HTTP 1.1 to GRPC.)
    sorabot
    @sorabot

    [telegram] <Hagen> Hi everyone! Hope you can help me with a quick doubt I am having.
    How can I create a new set of peerKeys and use them when launching Irohad?

    What I have tried to do already is the following:

    1. I changed the node0.pub and node0.priv keys.
      I created them using the IrohaCrypto.private_key(), and IrohaCrypto.derive_public_key() functions like this (I omitted the b' part when loading the keys):
      (1st ss goes here)
      I went ahead and changed the node0 files directly using vim node0.priv and vim node0.pub, and changed the genesis block peer key (with the public one) and then I launched this command:
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node0 --overwrite_ledger
      But whenever I did that, the following message appeared:
      (2nd ss goes here)
    2. Therefore, I restarted everything and tried creating node1.pub and node1.priv files that used some new different keys (both created using the IrohaCrypto.private_key(), and IrohaCrypto.derive_public_key() functions), and also changed the genesis block peer key, then I used this command:
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node1 --overwrite_ledger
      But then the same message appeared “Hex string contains uneven number of characters”
      (3rd ss goes here)

    3. Therefore, I thought there was a problem with the keys, so I restarted everything again and I created the node1.pub and node1.priv files and with vim I copied the public and private keys from node0.priv and node0.pub files, this time I made no modifications to the genesis block, but still, when launching this command:
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node1 --overwrite_ledger
      The same message as before appeared “Hex string contains uneven number of characters”

    4. Finally, I copied node0.pub and node0.priv to node1.pub and node1.priv using cp (like this: cp node0.pub node1.pub) And it worked correctly when using
      ./build/bin/irohad --config example/config.docker --genesis_block example/genesis.block --keypair_name example/node1 --overwrite_ledger
      However, this is not a solution as I am not changing any key, just though it was funny that it worked when copied using cp but not with vim
      What am I doing wrong? Please help me out!
    [telegram] <Hagen>
    [telegram] <Hagen>
    [telegram] <Hagen>
    sorabot
    @sorabot
    [telegram] <♌︎ Leo> exactly as the message says lol. Check your file size. It should be exactly 64 bytes.
    sorabot
    @sorabot
    [telegram] <♌︎ Leo> One private key; one public key. 64 bytes they be. Never more. never less.
    sorabot
    @sorabot
    [telegram] <Hagen> Hi Leo! Both keys have that. Even if I write the original public and private keys that normally work unto node1, they wont work! Thats the issue
    sorabot
    @sorabot
    [telegram] <♌︎ Leo> Did u check with 'ls -l' that the file is exactly 64 bytes without EOF?
    sorabot
    @sorabot
    [telegram] <Hagen> Oh, I see! I got confused with 64 characters, my bad.
    That is indeed the issue, the files that work have 64 bytes and the ones that I modify have 65 bytes thanks for pointing it out!
    Now then, how can i generate a new key file with exactly 64 bytes? as my method of opening the file and writing over it doesn´t work (I have already make sure that there are no extra spaces in it but as soon as I edit it in vim, it turns out to be 65 bytes long)
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <Ilyan> @hyperledgeriroha
    https://t.me/+c9zt7OqVWP02NjQx
    sorabot
    @sorabot
    [telegram] <♌︎ Leo> Make sure no newline at the end. Iirc, the deprecated iroha-cli has an option to generate key pair files (re @Hagen: Oh, I see! I got confused with 64 characters, my bad.
    That is indeed the issue, the files that work have 64 bytes and the ones that I modify have 65 bytes thanks for pointing it out!
    Now then, how can i generate a new key file with exactly 64 bytes? as my method of opening the file and writing over it doesn´t work (I have already make sure that there are no extra spaces in it but as soon as I edit it in vim, it turns out to be 65 bytes long))
    sorabot
    @sorabot
    [telegram] <Mark> I suggest looking for bots in this last batch of users joining, I just started getting direct messages from two "ladies" that just entered this chanel: mary Lisa, and Amelia Charlotte
    sorabot
    @sorabot
    [telegram] <Sara> I already removed one. But I'd generally suggest in these cases report those DMs. These bots get deleted pretty quickly (re @Mark: I suggest looking for bots in this last batch of users joining, I just started getting direct messages from two "ladies" that just entered this chanel: mary Lisa, and Amelia Charlotte)
    [telegram] <Mark> Thanks, will do (re @Sara: I already removed one. But I'd generally suggest in these cases report those DMs. These bots get deleted pretty quickly)
    sorabot
    @sorabot
    [telegram] <Amelia> Hello admin (re @Sara: I already removed one. But I'd generally suggest in these cases report those DMs. These bots get deleted pretty quickly)
    [telegram] <Julia Marín> How can you be on a group complaining that u are getting direct message if don't need any messages u heve the right to left the group.
    sorabot
    @sorabot
    [telegram] <Sara> Messages with no actual information on the topic of the group (being Iroha tech) and trying to start a dispute will be deleted. It is also very much not appreciated to use this group to find people to send spam to in direct messages. Let us try our best to stay on the productive side 🖖🏻
    [telegram] <Amelia> Who is the CEO of this group
    [telegram] <Sara> Iroha is an open-source project, and this is its open-source community's group. I'm afraid it is not a corporate body, so I am not sure if we could help you with this. If you have an Iroha-related question though, we're here to help! (re @Amelia: Who is the CEO of this group)
    [telegram] <Julia Marín> How can a young girl be admin of this group?
    [telegram] <Amelia> This company is fake I think 🤔🤔 (re @Sara: Iroha is an open-source project, and this is its open-source community's group. I'm afraid it is not a corporate body, so I am not sure if we could help you with this. If you have an Iroha-related question though, we're here to help!)
    [telegram] <Sara> Contribute to Iroha for some time, become a maintainer, who helps to run a project - that's generally the way 😌 (re @Julia Marín: How can a young girl be admin of this group?)
    sorabot
    @sorabot
    [telegram] <Sara> Again, not a company. (re @Amelia: This company is fake I think 🤔🤔)
    [telegram] <Julia Marín> What do a small girl no to tell people about this program 😳
    [telegram] <Amelia> Then explain to me what it is (re @Sara: Again, not a company.)
    [telegram] <Amelia> I'm going to report this group to FBI
    [telegram] <Amelia> You are here deceiving people
    [telegram] <Sara> I can explain it any time but better check out our GitHub! It's really cool: https://github.com/hyperledger/iroha 😁 (re @Amelia: Then explain to me what it is)
    [telegram] <Amelia> I want to see the CEO of this group
    [telegram] <Sara> Go ahead, they might actually consider decentralisation maybe! (re @Amelia: I'm going to report this group to FBI)
    [telegram] <Amelia> God will punish you small girl like you what do you know (re @Sara: I can explain it any time but better check out our GitHub! It's really cool: https://github.com/hyperledger/iroha 😁)
    sorabot
    @sorabot
    [telegram] <Julia Marín> This small girl u don't have manner of approach.
    [telegram] <♌︎ Leo> Amelia I dunno who do u think u are? What gives u the right to barge into this group and make such demands?
    [telegram] <♌︎ Leo> @liralemur can we kick them out?
    [telegram] <Sara> Using Lord's name in vain! But n a serious note, it was a nice talk but we do not tolerate any type of offence here, including offencing me (or was it a compliment?). So off to the ban you go, ladies
    [telegram] <Sara> Sure can (re @♌︎ Leo: @liralemur can we kick them out?)
    [telegram] <Julia Marín> U are not the only admin in this group so why can't u stay on ur own.🤗