ubiquibot / comment-incentives

0 stars 10 forks source link

Shared `X25519_PRIVATE_KEY` for Development #22

Closed 0x4007 closed 4 months ago

0x4007 commented 4 months ago

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.

https://github.com/ubiquibot/comment-incentives/pull/21/commits/567419d9688e92edf698f64c697f1a7cafe1d02e

Originally posted by @pavlovcik in https://github.com/ubiquibot/comment-incentives/issues/19#issuecomment-1948876653

molecula451 commented 4 months ago

pavlovcik i think we need to update a bit the readme

image_2024-02-16_131036879

dm what to whom?

0x4007 commented 4 months ago

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

gitcoindev commented 4 months ago

/start

ubiquibot[bot] commented 4 months ago

DeadlineFri, Feb 16, 6:45 PM UTC
Registered Wallet 0x7e92476D69Ff1377a8b45176b1829C4A5566653a
Tips:
molecula451 commented 4 months ago

let us know when done

ubiquibot[bot] commented 4 months ago
+ Evaluating results. Please wait...
molecula451 commented 4 months ago

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

ubiquibot[bot] commented 4 months ago
+ Evaluating results. Please wait...
0x4007 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

@molecula451 I tried to override X25519_PRIVATE_KEY but it did not help. It seems that https://github.com/ubiquibot/production/blob/1937a6ba75588f51d1bf07fed1f6384f79090465/.github/ubiquibot-config.yml#L2 takes precedence over https://github.com/ubiquibot/comment-incentives/blob/main/.github/ubiquibot-config.yml#L2 (I see the first one in logs).

ubiquibot[bot] commented 4 months ago
+ Evaluating results. Please wait...
ubiquibot[bot] commented 4 months ago
+ Evaluating results. Please wait...
ubiquibot[bot] commented 4 months ago

[ 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 commented 4 months ago

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

0x4007 commented 4 months ago

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

I don't understand what you mean by this

molecula451 commented 4 months ago

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 commented 4 months ago

I'll investigate more on my computer later.

molecula451 commented 4 months ago

sure thing

0x4007 commented 4 months ago

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.