brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
18k stars 2.36k forks source link

Rotating IPNS Keys doesn't auto-restart the node #37388

Closed srirambv closed 3 months ago

srirambv commented 7 months ago

Description

Rotating IPNS Keys doesn't auto-restart the server

Steps to Reproduce

  1. Enable IPFS and set resolve method to localhost
  2. Open brave://settings/ipfs/keys and click on rotate key button
  3. Enter a valid name and click on submit
  4. IPFS node stops and the name prompt doesn't auto-close
  5. Closing the modal shows blank for brave://settings/ipfs/keys
  6. Go back to brave://settings/web3, Set up your IPNS keys section is hidden since node is stopped
  7. Restart the node and reload brave://settings/web3, IPNS Key section is shown again

Actual result:

https://github.com/brave/brave-browser/assets/17010094/57a6477c-e1af-49e4-b73f-676fc52cb015

Expected result:

Should auto-restart the node when keys are rotated

Reproduces how often:

Easy

Brave version (brave://version info)

Version: kubo/0.26.0/brave

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

cc: @vadimstruts

vadimstruts commented 3 months ago

The IPFS local node and scheme has been deprecated