Clive Updates - the first step to an encrypted profile

in HiveDevslast month (edited)

The two main goals described in the previous post are still valid: making Clive more user-friendly and implementing encrypted profiles. Both goals are in progress - you can read about them below. Additionally, we prepared a script that runs the CLI (command-line interface) more easily.

Changes towards encrypted profiles

To improve security we are working on the encrypted profile functionality. Therefore, before you start working with Clive you must enter a password - log in to your profile. All data stored in your profile, such as working and tracked accounts, and key aliases will be stored in an encrypted profile file. This requires many changes to both the CLI (command line interface) and TUI (text-based user interface):

  • TUI - new screen allowing profile selection and creation when logging in,
  • TUI/CLI - changes in locking and unlocking the profile,
  • TUI/CLI - stored data encryption.

The functionality will be delivered in two main parts: the first part - TUI-related changes, but without encryption, and the second part - CLI-related changes with profile data encryption.

We are changing the way we store data so if you have already created a profile, you will have to recreate it. This inconvenience is related to changes in the next release.

We have finished the first part of the work:

  • While starting Clive you have to select a profile and enter the password.

image2.png

  • When you click on the wallet state indicator presenting: i.e. UNLOCKED status, your profile will be locked and you will have to enter a password to unlock a profile. The dashboard is no longer accessible without entering a password

image4.png

Additionally, you can now easily switch between multiple profiles in the TUI:

image3.png

To make Clive more user-friendly

We are still working on making Clive more user-friendly. In this release we changed behavior on views with operations: transfer, transfer to/from savings, power up, power down, set the withdraw routes, and delegate. There are the following changes:

  • The fast broadcast was removed - it is unnecessary now as the cart and transaction summary were combined into a single page.
  • We added an Add to cart button, but you can still use bindings if it is more convenient for you.
  • If you press the Add to cart button or Enter, the operation is:
    • added to cart
    • the application remains on the same operation screen
    • all data like values entered into input fields is set to default values, also the receiver of transfer and power up/down is automatically set to your working account
    • the The operation was added to the cart notification is displayed.

image1.png

A new script to run the CLI Clive easier

We created a custom Bash script to launch the Clive CLI more easily in a dockerized environment. The script for running the TUI is already available and I wrote about it here

Just like the previous script, this script also maps host directories to the Docker container and allows for persistent storage of user profiles. It allows for easy use of the CLI.

image5.png

You can find the scripts here: https://gtg.openhive.network/get/clive/

Complete list of corrected issues

More info about running Clive can be found here: Clive - alpha release. Please make sure you are using the most recent version: v1.27.5.18

TL;DR

docker run -ti hiveio/clive:v1.27.5.18

or ./start_clive.sh (from the link above)

Your feedback is invaluable and always welcome.

Sort:  

I had heard about this project some time ago, but now I see that it is quite advanced. Many will wonder what this would be useful for, but for those of us who like terminal tools it is perfect.

What is it used for?

For operations that require active key like power ups, power downs, delegations, voting for proposal or witness. Terminal user interface (those colorful screens) seems more user friendly then command line interface (CLI).

!BBH

Nice

Congratulations @thebeedevs! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 5000 upvotes.
Your next target is to reach 6000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

Hive Power Up Day - December 1st 2024

Is it possible to use Clive to change the keys of a Hive account?

Hello thebeedevs!

It's nice to let you know that your article won 🥈 place.
Your post is among the best articles voted 7 days ago by the @hive-lu | King Lucoin Curator by szejq

You and your curator receive 0.0361 Lu (Lucoin) investment token and a 6.95% share of the reward from Daily Report 496. Additionally, you can also receive a unique LUSILVER token for taking 2nd place. All you need to do is reblog this report of the day with your winnings.

2.png


Invest in the Lu token (Lucoin) and get paid. With 50 Lu in your wallet, you also become the curator of the @hive-lu which follows your upvote.
Buy Lu on the Hive-Engine exchange | World of Lu created by @szejq

If you no longer want to receive notifications, reply to this comment with the word STOP or to resume write a word START