create account

Clive Updates - encrypted profile is ready by thebeedevs

View this thread on: hive.blogpeakd.comecency.com
· @thebeedevs ·
$163.12
Clive Updates - encrypted profile is ready
We have finally implemented encrypted profile functionality in Clive. This introduced many changes in CLI (command line interface) and TUI (text-based user interface). Additionally, we changed the way we use Beekeeper, now instead of implementing its Python handler in the Clive, we use the new Beekeepy library.

There are no changes to how Clive is run, you can still use the scripts we have prepared, one for running TUI, and the second for CLI. You can find links at the end of the text.


### Encrypted profile

We introduced the changes gradually, so I have written about some of them before, but here I would like to sum up the entire encrypted profile functionality.


Clive stores the following data about your profile on your disk:
- your working account,
- tracked accounts - accounts you observe,
- known accounts,
- added key aliases,
- selected node,
- chain id,
- transaction in the cart (list of operations, Tapos, Expiration date, Transaction ID, and signatures - if the transaction is signed).

After implementing the encrypted profile functionality, all the above information is encrypted and available only after entering the password.

Due to these changes, if you have already used Clive, you have to recreate your profile.


##### Encrypted profile - changes in TUI

The main change here is that you must enter a password to log in before using Clive. If you don’t have a profile, you need to create one.  

You can have more than one profile.

 ![image5.png](https://images.hive.blog/DQmdp9zQ4nnxAUCf2nZTMpmyPKZS3pUDitc22kUQ4XhAWF4/image5.png) 

After using Clive, you can lock the wallet by pressing `Unlocked` wallet status or using a dedicated “Lock wallet” binding.

 ![image4.png](https://images.hive.blog/DQmcZzF2TXt15DLDHi3HSQnmaXon27NqxDynC5kJnnm63uK/image4.png) 

##### Encrypted profile - changes in CLI

The easiest way to run CLI Clive is the `start_clive_cli.sh` script. It sets up Beekeeper and saves a session token.

Similarly to the TUI, before you start using the CLI Clive, you have to select a profile (if you have any) or create a new one (by executing the `clive configure profile add` command).

Once you enter a password, the selected profile is unlocked. While working with the unlocked profile, you don’t need to enter a password to execute every command.

Be aware that only one profile can be unlocked at a time.

Previously, there was a default profile functionality but we removed it because it wasn’t in line with the new functionality.

 ![image1.png](https://images.hive.blog/DQmWssFuZ6U84y7iLDB7452ycAKrAzSm17J9xsyWfstnsa8/image1.png) 

In order to lock or unlock a profile, you can use commands `clive lock` or `clive unlock`. You can switch the profile by locking the previous one and unlocking another one.

 ![image3.png](https://images.hive.blog/DQmWNFbzgVcaPNCUkvKwZqX4vyGyw1hDYVgn3TmerPm285U/image3.png) 

So if you want to broadcast a transaction, you need to do two steps: unlock a profile and process a transaction.

 ![image6.png](https://images.hive.blog/DQmc9T9ji5RQsQJxrEJtMV3WbrigANw41dstLhEdpAtAtLF/image6.png) 

## Beekeepy

The change from Beekeeper to Beekeepy from the users' point of view is unnoticeable, but this is a huge change from the developers' perspective. Beekeepy is a library with a strong focus on an object-oriented approach to the raw beekeeper network interface, aiming to guide users with abstract interfaces. It was created based on experience and solutions in the corresponding library in TypeScript.


You can try to use it in your project - it needs just a few lines of code - like in the following example!

```python
from beekeepy import Beekeeper

# Create new local instance (works on both sync and async)

with Beekeeper.factory() as beekeeper,
  beekeeper.create_session() as session,
  session.create_wallet(name="my_wallet", password="password") as wallet:
    public_key = wallet.import_key(private_key=my_private_key)
    wallet.sign_digest(digest=my_digest, public_key=public_key)
```

### To make Clive more user-friendly

We changed the way the list of operations looks. Now, all operations are available on a single page, grouped by operation category: Financial and Governance.

 ![image2.png](https://images.hive.blog/DQmPJvh5pfxp7gLnMsbooXaAmPAA5RvgN4qSzbvnWog6eDp/image2.png) 

[Complete list of corrected issues](https://gitlab.syncad.com/hive/clive/-/releases/v1.27.5.20)

The scripts that allow you to run Clive are here: https://gtg.openhive.network/get/clive/


## TL;DR

```
docker run -ti hiveio/clive:v1.27.5.20
```

### Your feedback is invaluable and always welcome.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 212 others
properties (23)
authorthebeedevs
permlinkclive-updates-encrypted-profile-is-ready
categoryhive-139531
json_metadata{"format":"markdown+html","summary":"","app":"@hiveio/wax/1.27.6-rc5-stable.241029104701","tags":["hive","dev","clive","wallet","cli"],"image":[""],"author":""}
created2025-02-21 21:37:39
last_update2025-02-21 21:37:39
depth0
children15
last_payout2025-02-28 21:37:39
cashout_time1969-12-31 23:59:59
total_payout_value81.580 HBD
curator_payout_value81.543 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,594
author_reputation199,200,348,472,277
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,958,049
net_rshares437,390,344,741,639
author_curate_reward""
vote details (276)
@atemuz24 ·
This is great news!I'm excited to see the encrypted profile functionality in Clive.The changes to the CLI and TUI sound very user-friendly,especially the ability to have multiple profiles.I'm also interested in learning more about the Beekeepy library.Thanks for the update!
properties (22)
authoratemuz24
permlinkss2h4o
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2025-02-22 04:15:54
last_update2025-02-22 04:15:54
depth1
children0
last_payout2025-03-01 04:15:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length274
author_reputation188,634,163,833
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,964,335
net_rshares0
@atma.love ·
To use Clive do i need a Linux OS?

properties (22)
authoratma.love
permlinkre-thebeedevs-202536t183845776z
categoryhive-139531
json_metadata{"type":"comment","tags":["hive-139531","hive","dev","clive","wallet","cli"],"app":"ecency/3.2.0-mobile","format":"markdown+html"}
created2025-03-06 16:38:48
last_update2025-03-06 16:38:48
depth1
children0
last_payout2025-03-13 16:38:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length36
author_reputation157,249,443,530,225
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,249,831
net_rshares0
@hivebuzz ·
Congratulations @thebeedevs! Your post has been a top performer on the Hive blockchain and you have been rewarded with this rare badge

<table><tr><td><img src="https://images.hive.blog/60x60/https://hivebuzz.me/badges/toppayoutday.png"></td><td>Post with the highest payout of the day.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@thebeedevs) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>

properties (22)
authorhivebuzz
permlinknotify-1740194018
categoryhive-139531
json_metadata{"image":["https://hivebuzz.me/notify.t6.png"]}
created2025-02-22 03:13:36
last_update2025-02-22 03:13:36
depth1
children0
last_payout2025-03-01 03:13:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length576
author_reputation369,199,176,783,453
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,963,601
net_rshares0
@hivebuzz ·
Congratulations @thebeedevs! Your post has been a top performer on the Hive blockchain and you have been rewarded with this rare badge

<table><tr><td><img src="https://images.hive.blog/60x60/https://hivebuzz.me/badges/toppayoutweek.png"></td><td>Post with the highest payout of the week.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@thebeedevs) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>

properties (22)
authorhivebuzz
permlinknotify-1740365590
categoryhive-139531
json_metadata{"image":["https://hivebuzz.me/notify.t6.png"]}
created2025-02-24 02:53:09
last_update2025-02-24 02:53:09
depth1
children0
last_payout2025-03-03 02:53:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length578
author_reputation369,199,176,783,453
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,008,392
net_rshares0
@mv-curacion ·
!hueso
👎  
properties (23)
authormv-curacion
permlinkre-thebeedevs-ss2fx7
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.2.3","image":[],"users":[]}
created2025-02-22 03:48:57
last_update2025-02-22 03:48:57
depth1
children1
last_payout2025-03-01 03:48:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation6,231,878,094
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,964,017
net_rshares-165,102,683
author_curate_reward""
vote details (1)
@bot-bdbhueso ·
<center>[![](https://media.discordapp.net/attachments/1024769431500509294/1342589583346503690/1_COMANDO_HUESO_ING.gif?ex=67ba2f7c&is=67b8ddfc&hm=802e08ed8ea13a5048dd02fc5e242e9f04fb7cf4294c6f99db57f3a7f520d91a&=&width=1000&height=188)](https://discord.gg/WdSDtH8GZg)</center>

<center>Uses: 5/27
!</center>
properties (22)
authorbot-bdbhueso
permlinkre-mv-curacion-re-thebeedevs-ss2fx7-20250222t034905252z
categoryhive-139531
json_metadata{"app":"hive-bot/0.6.3"}
created2025-02-22 03:49:06
last_update2025-02-22 03:49:06
depth2
children0
last_payout2025-03-01 03:49:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length306
author_reputation485,295,098,254
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,964,019
net_rshares0
@oasiskp2 ·
Great job for such achievement
properties (22)
authoroasiskp2
permlinkss2ur9
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2025-02-22 09:09:09
last_update2025-02-22 09:09:09
depth1
children0
last_payout2025-03-01 09:09:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation60,295,648,005,784
root_title"Clive Updates - encrypted profile is ready"
beneficiaries
0.
accountcadawg
weight300
1.
accounthiveonboard
weight100
2.
accountocdb
weight100
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,967,600
net_rshares0
@pleo1542 ·
!hueso
👍  
properties (23)
authorpleo1542
permlinkre-thebeedevs-ss33w1
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.2.3","image":[],"users":[]}
created2025-02-22 12:27:03
last_update2025-02-22 12:27:03
depth1
children1
last_payout2025-03-01 12:27:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation31,810,084,979,138
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,970,299
net_rshares0
author_curate_reward""
vote details (1)
@bot-bdbhueso ·
<center>🚨SORRY, at this time you don't have enough [Hueso](https://tribaldex.com/swap?from=SWAP.HIVE&to=HUESO) to use the command🚨.</center>
👍  
properties (23)
authorbot-bdbhueso
permlinkre-pleo1542-re-thebeedevs-ss33w1-20250222t122712083z
categoryhive-139531
json_metadata{"app":"hive-bot/0.6.3"}
created2025-02-22 12:27:12
last_update2025-02-22 12:27:12
depth2
children0
last_payout2025-03-01 12:27:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length140
author_reputation485,295,098,254
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,970,302
net_rshares1,604,137,662
author_curate_reward""
vote details (1)
@redditposh ·
https://www.reddit.com/r/HiveJournal/comments/1ivsk6h/hive_clive_updates_encrypted_profile_is_ready/
<sub> The rewards earned on this comment will go directly to the people( @seckorama ) sharing the post on Reddit as long as they are registered with @poshtoken. Sign up at https://hiveposh.com. Otherwise, rewards go to the author of the blog post.</sub>
properties (22)
authorredditposh
permlinkre-thebeedevs-clive-updates-encrypted-profile-is-ready-9738
categoryhive-139531
json_metadata"{"app":"Poshtoken 0.0.2","payoutToUser":["seckorama"]}"
created2025-02-22 20:43:21
last_update2025-02-22 20:43:21
depth1
children0
last_payout2025-03-01 20:43:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length355
author_reputation1,907,656,243,843,835
root_title"Clive Updates - encrypted profile is ready"
beneficiaries
0.
accountnomnomnomnom
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id140,980,299
net_rshares0
@simplegame ·
any chance Clive adds the ability to broadcast a custom_json in the future?
properties (22)
authorsimplegame
permlinkre-thebeedevs-ss3qih
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.2.3","image":[],"users":[]}
created2025-02-22 20:35:06
last_update2025-02-22 20:35:06
depth1
children4
last_payout2025-03-01 20:35:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length75
author_reputation127,461,206,312,497
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,980,101
net_rshares0
@gtg ·
It's already there; [custom_json support in CLI Clive](/@thebeedevs/clive-updates-the-custom-json-operation-is-now-available-in-cli-clive) was introduced seven months ago.
👍  ,
properties (23)
authorgtg
permlinkss53oh
categoryhive-139531
json_metadata{"links":["/@thebeedevs/clive-updates-the-custom-json-operation-is-now-available-in-cli-clive"],"app":"hiveblog/0.1"}
created2025-02-23 14:17:06
last_update2025-02-23 14:17:06
depth2
children3
last_payout2025-03-02 14:17:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length171
author_reputation461,775,164,998,463
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,994,032
net_rshares35,599,212,262
author_curate_reward""
vote details (2)
@simplegame ·
@simplegame "awesome. I have not looked at it for a while. Tha..."
awesome. I have not looked at it for a while. 
Thank you. Time to download and test. 
properties (22)
authorsimplegame
permlinkre-gtg-35mkx4ptu
categoryhive-139531
json_metadata{"app":"leothreads/0.3","format":"markdown","tags":["leofinance"],"canonical_url":"https://inleo.io/threads/view/simplegame/re-gtg-35mkx4ptu","isPoll":false,"pollOptions":{},"dimensions":[]}
created2025-02-23 14:57:12
last_update2025-02-23 14:57:12
depth3
children2
last_payout2025-03-02 14:57:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length85
author_reputation127,461,206,312,497
root_title"Clive Updates - encrypted profile is ready"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id140,995,013
net_rshares0