Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Shared X25519_PRIVATE_KEY for Development #22

Closed
0x4007 opened this issue Feb 16, 2024 · 20 comments · Fixed by #25
Closed

Shared X25519_PRIVATE_KEY for Development #22

0x4007 opened this issue Feb 16, 2024 · 20 comments · Fixed by #25

Comments

@0x4007
Copy link
Member

0x4007 commented Feb 16, 2024

Can somebody work on generating a new X25519_PRIVATE_KEY for the ubiquibot organization? We need to share it for development purposes.

  1. Generate a new key
  2. Encrypt a new evmPrivateKeyEncrypted (no funds!) and add to the org bot config
  3. Add the shared test key to the comment-incentives readme.

567419d

Originally posted by @pavlovcik in #19 (comment)

@molecula451
Copy link
Contributor

pavlovcik i think we need to update a bit the readme

image_2024-02-16_131036879

dm what to whom?

@0x4007
Copy link
Member Author

0x4007 commented Feb 16, 2024

Link below for conversation context. It was to me. Anyways you need to create a new private key for this task!

@gitcoindev
Copy link
Contributor

/start

Copy link

ubiquibot bot commented Feb 16, 2024

DeadlineFri, Feb 16, 6:45 PM UTC
Registered Wallet 0x7e92476D69Ff1377a8b45176b1829C4A5566653a
Tips:
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.

@molecula451
Copy link
Contributor

let us know when done

molecula451 pushed a commit that referenced this issue Feb 16, 2024
* chore: add new shared evmPrivateKeyEncrypted

The new evmPrivateKeyEncrypted generated for address
0x3a2E44e10AbEf5CB4a6E492c5ba93d30068d2D95 (no funds).

Resolves: #22

* chore: add private key to docs

* chore: add X25519 shared keys
Copy link

ubiquibot bot commented Feb 16, 2024

+ Evaluating results. Please wait...

@molecula451 molecula451 reopened this Feb 16, 2024
@molecula451
Copy link
Contributor

@0x4007 0x4007 closed this as completed in a228622 Feb 16, 2024
Copy link

ubiquibot bot commented Feb 16, 2024

+ Evaluating results. Please wait...

@0x4007
Copy link
Member Author

0x4007 commented Feb 16, 2024

https://github.com/ubiquibot/comment-incentives/actions/runs/7935268560 invalid input sounds unexpected @gitcoindev ??

In the repository secrets I think I need to change the key to match @gitcoindev's

@0x4007
Copy link
Member Author

0x4007 commented Feb 16, 2024

I just changed it to 627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3iC7GQ

I hope that it doesn't break production for some reason (it should get it from Netlify secrets, but not sure if we implemented this correctly!)

I fear that we might need to build a feature for this to support development key pair and production. Unfortunately I'm already winding down for the day so I'll leave you guys to try and investigate.

@gitcoindev
Copy link
Contributor

Copy link

ubiquibot bot commented Feb 17, 2024

+ Evaluating results. Please wait...

Copy link

ubiquibot bot commented Feb 17, 2024

+ Evaluating results. Please wait...

Copy link

ubiquibot bot commented Feb 17, 2024

[ 43.8 WXDAI ]

@pavlovcik
Contributions Overview
ViewContributionCountReward
IssueSpecification117.4
IssueComment322.6
ReviewComment23.8
Conversation Incentives
CommentFormattingRelevanceReward
Can somebody work on generating a new `X25519_PRIVATE_KEY` for t...
17.4
li:
  count: 3
  score: "3"
  words: 31
code:
  count: 3
  score: "3"
  words: 4
117.4
Link below for conversation context. It was to me. Anyways you n...
4.20.054.2
> https://github.com/ubiquibot/comment-incentives/actions/runs/7...
3.20.783.2
I just changed it to `627H-BcWbcp_O3YmQGIA6MqgxVsFuplFCA9DK3iC7G...
15.2
code:
  count: 1
  score: "1"
  words: 2
0.7215.2
Need to document a private key too ...
1.40.491.4
I was editing this right now but was too slow to push....
2.40.372.4

[ 5.3 WXDAI ]

@molecula451
Contributions Overview
ViewContributionCountReward
IssueComment33.4
ReviewComment21.9
Conversation Incentives
CommentFormattingRelevanceReward
pavlovcik i think we need to update a bit the readme

![image_...

1.50.681.5
let us know when done...
0.510.5
https://github.com/ubiquibot/comment-incentives/actions/runs/793...
1.40.5251.4
indeed...
0.10.430.1
go to go pavlovick, we'll be using this one for test only or tes...
1.80.391.8

[ 47.4 WXDAI ]

@gitcoindev
Contributions Overview
ViewContributionCountReward
IssueTask1.0037.5
IssueComment10
IssueComment14.9
ReviewComment22.5
ReviewComment22.5
Conversation Incentives
CommentFormattingRelevanceReward
@molecula451 I tried to override X25519_PRIVATE_KEY but it did n...
-0.605-
@molecula451 I tried to override X25519_PRIVATE_KEY but it did n...
4.90.6054.9
@pavlovcik @molecula451 please check now again, I added to docs....
10.751
No way, full details are available in plain sight, only for test...
1.50.51.5
@pavlovcik @molecula451 please check now again, I added to docs....
10.751
No way, full details are available in plain sight, only for test...
1.50.51.5

@molecula451
Copy link
Contributor

@pavlovcik permitted with hard debug (tho no funds in the private key)

@0x4007
Copy link
Member Author

0x4007 commented Feb 17, 2024

@pavlovcik permitted with hard debug (tho no funds in the private key)

I don't understand what you mean by this

@molecula451
Copy link
Contributor

molecula451 commented Feb 17, 2024

pavlovcik i re-generated the X25519 to trigger the permit, what you don't understand? using a private key i own, but also did many commits to reach the root cause

@0x4007
Copy link
Member Author

0x4007 commented Feb 17, 2024

I'll investigate more on my computer later.

@molecula451
Copy link
Contributor

sure thing

@0x4007
Copy link
Member Author

0x4007 commented Feb 17, 2024

Will it be an issue if I revert to the commit and secret that I had before?

It was the production x25519 key in the GitHub repository secrets when it was working like eight hours ago.

Posting this message before checking on my computer to get you before you log off.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants