Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature blobber authorization #3153

Open
5 of 6 tasks
Jayashsatolia403 opened this issue Feb 15, 2024 · 1 comment · Fixed by 0chain/gosdk#1395, 0chain/zboxcli#595, 0chain/blobber#1393 or #3218
Open
5 of 6 tasks

Feature blobber authorization #3153

Jayashsatolia403 opened this issue Feb 15, 2024 · 1 comment · Fixed by 0chain/gosdk#1395, 0chain/zboxcli#595, 0chain/blobber#1393 or #3218
Assignees
Labels

Comments

@Jayashsatolia403
Copy link
Collaborator

Jayashsatolia403 commented Feb 15, 2024

We need to implement an authorized blobber feature. to make it happen we need several changes in the network

  • UI: user will have a way to add authorization ticket to it’s wallet in UI

  • We might allow to request some service in real time to generate the ticket on request and store it in 0box
    
  • User will be able to set blobber as restricted
    
  • 0box: will store authorization ticket for each wallet in additional table

  • Gosdk: will send ticket set in new_allocation_request and free_allocation_request for a specific blobber

  •    Will send if blobber is restricted in add_blobber, update_blobber_settings
    
  • Zboxcli: user will be able to use authorization ticket during allocation creation

  •      User will be able to update bobbers state with is_autorizer property
    
  • 0chain: for any restricted blobber appropriate authorization ticket will be verified

  •     Blobber state will be extended with is_restricted
    
  • Blobber: we might provide a restricted api where user can request for authorization ticket

@Jayashsatolia403
Copy link
Collaborator Author

Jayashsatolia403 commented Feb 15, 2024

Authorisation ticket Flow :

Blobber delegate wallet -->0box ( input : client_id, blobber_id ) : ( 0box will store authorisation ticket and client id in db ) <--> respective blobber ( input : authentication key signed by private key from 0box ) : ( output : authorisation ticket from blobber for specific client )

Client :

Client wallet <--> 0box ( input : blobber_id ) : ( output : authorisation ticket )

0chain : ( input : blobbers with auth tickets ) : ( 0chain will verify from blobber pub key stored )

@Jayashsatolia403 Jayashsatolia403 linked a pull request Feb 17, 2024 that will close this issue
3 tasks
@Jayashsatolia403 Jayashsatolia403 linked a pull request Feb 27, 2024 that will close this issue
3 tasks
@dabasov dabasov added the v1.14 label Mar 11, 2024
@Jayashsatolia403 Jayashsatolia403 linked a pull request Apr 7, 2024 that will close this issue
3 tasks
@Jayashsatolia403 Jayashsatolia403 removed a link to a pull request Apr 7, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment