create account

update for beem: make beem/beempy ready for tails by holger80

View this thread on: hive.blogpeakd.comecency.com
· @holger80 · (edited)
$50.94
update for beem: make beem/beempy ready for tails

## Repository

https://github.com/holgern/beem<center>
![beem-logo](https://cdn.steemitimages.com/DQmcRrwLPSywSYMierfP6um6mejeMNGjN9Rxw7audJqTDgb/beem-logo)
</center>

[beem](https://github.com/holgern/beem) is a python library and command line tool for HIVE.  The current version is 0.24.15.

There is also a discord channel for beem: https://discord.gg/4HM592V

The newest beem version can be installed by:

```
pip install -U beem
```

Check that you are using hive nodes. The following command 

```
beempy updatenodes --hive
```

updates the nodelist and uses only hive nodes. After setting hive as default_chain, `beempy updatenodes` can be used.

The list of nodes can be checked with

```
beempy config
```

and

```
beempy currentnode
```

shows the currently connected node.

## Changelog for 0.24.15
* Add diff_match_patch dependency again, as the difflib implementation does not work

## Changelog for 0.24.14
* Add option add_tor to config storage, which allows it to use beempy in tails
* Switch from pyyaml to ruamel.yaml
* Remove Events requirements, beem.notify and beemapi.websocket, as it is not well tested and there are no websocket api nodes available on hive
* Remove unnecessary requirements (pylibscrypt and future)
* add new node (fin.hive.3speak.co) and change change rpc.esteem.app to rpc.ecency.com
* Replace diff_match_patch by difflib and add unit tests
* Increase timeout and retry count in beempy
* Remove obsolete replace_hive_by_steem parameter
* skip_account_check added to account.transfer and account.transfer_to_vesting

## Reduce dependencies
The `pylibscrypt`, `future` and `diff_match_patch` dependency has been removed and `pyyaml` was replaced by `ruamel.yaml`.

## `skip_account_check` can speed up `transfer` and `transfer_to_vesting`
When setting `skip_account_check=True` the receiver account name is not checked for validity. This reduced the number of API-calls when broadcasting a lot of transfers.

## The `use_tor` config can be set to True for using beem in Tails

[Tails](https://tails.boum.org/index.de.html) is a secure portable operating system that can be started from any PC with USB. 

Changing the account keys of a Hive account can only be done with the owner key. Thus, this key needs to be protected from leaking. Broadcasting the account_update operation from Tails could increase security and protect the owner key.

It is possible to activate tor by:
```
beempy set use_tor true
```
so that beempy can be used in [Tails](https://tails.boum.org/index.de.html).

You need to set an administrator password on startup and install the following packages in the root terminal:
```
apt install build-essential libssl-dev python3-appdirs python3-click-plugins python3-dev python3-future python3-pip python3-pretty-yaml python3-prettytable python3-pycryptodome python3-pytest-runner python3-ruamel.yaml python3-scrypt python3-setuptools python3-websocket
```

and download the following tar.xz files with the Tor-Browser:
* click-shell from [pypi](https://pypi.org/project/click-shell/#files)
* beem from [pypi](https://pypi.org/project/beem/#files)
* diff_match_patch fro [pypi](https://pypi.org/project/diff-match-patch/#files)

This is necessary as a `pip install` do now work in Tails.

You need to unpack them with `tar xvzf file.tar.gz` and do a 
```
python setup.py install --user
```
inside the unpacked directory using a terminal. 
This has to be done at first with click-shell, diff_match_pach and then with beem.

The beempy command can be started with
```
~/.local/bin/beempy
```

After doing
```
~/.local/bin/beempy set use_tor true
```
everything should be working.

I will prepare a more detailed instruction for how to use beempy in Tails.

___

*If you like what I do, consider casting a vote for me as witness on [Hivesigner](https://hivesigner.com/sign/account-witness-vote?witness=holger80&approve=1) or on [PeakD](https://peakd.com/witnesses)*
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 407 others
properties (23)
authorholger80
permlinkupdate-for-beem-make-beembeempy-ready-for-tails
categoryhive-139531
json_metadata"{"canonical_url": "https://hive.blog/hive-139531/@holger80/update-for-beem-make-beembeempy-ready-for-tails", "community": "hive-139531", "app": "beempy/0.24.15", "links": ["https://github.com/holgern/beem", "https://github.com/holgern/beem", "https://discord.gg/4HM592V", "https://tails.boum.org/index.de.html", "https://tails.boum.org/index.de.html", "https://pypi.org/project/click-shell/#files", "https://pypi.org/project/beem/#files", "https://hivesigner.com/sign/account-witness-vote?witness=holger80&amp;approve=1", "/witnesses"], "tags": ["development", "beem", "tails", "python"], "image": ["https://cdn.steemitimages.com/DQmcRrwLPSywSYMierfP6um6mejeMNGjN9Rxw7audJqTDgb/beem-logo"], "format": "markdown"}"
created2020-10-24 22:43:27
last_update2020-10-25 08:00:33
depth0
children9
last_payout2020-10-31 22:43:27
cashout_time1969-12-31 23:59:59
total_payout_value29.016 HBD
curator_payout_value21.924 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,925
author_reputation358,857,509,568,825
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,239,030
net_rshares236,065,038,788,016
author_curate_reward""
vote details (471)
@co2admin ·
Upvoted to thank you @holger80 for supporting the [CO2Fund](https://peakd.com/@co2fund) by, e.g., supporting posts, banner presentation, SP/HP delegation, dustsweeper gifts, helpful tools, etc.
properties (22)
authorco2admin
permlinkre-update-for-beem-make-beembeempy-ready-for-tails-20201024t224652z
categoryhive-139531
json_metadata"{"app": "rewarding/0.1.0"}"
created2020-10-24 22:46:54
last_update2020-10-24 22:46:54
depth1
children0
last_payout2020-10-31 22:46: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_length193
author_reputation3,792,666,189
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,239,051
net_rshares0
@tan.app ·
<center>
<sup>Congratulations @holger80, You Earned <b>4.204 TAN</b> & Curators Made <b>4.204 TAN</b>.</sup>

<img src="https://files.peakd.com/file/peakd-hive/theguruasia/DWYqznFx-TANToken70.png" alt="upme.link">

---
<sup>Join [CORE / VAULT Token Discord Channel](https://discord.gg/XYMrvyr) or Join [UPMELINK Web Site](https://upme.link)</sup>
<sup>[TAN Current Market Price](https://hive-engine.com/?p=market&t=TAN) : <b>0.310 HIVE</b></sup>
</center>
properties (22)
authortan.app
permlink20201028t024221511z
categoryhive-139531
json_metadata{"tags":["tan-bot","upmelink_curation_bot"],"app":"tan-bot/1.1","format":"markdown"}
created2020-10-28 02:42:21
last_update2020-10-28 02:42:21
depth1
children0
last_payout2020-11-04 02:42: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_length456
author_reputation164,160,871,793
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,284,563
net_rshares0
@theguruasia ·
$tangent
properties (22)
authortheguruasia
permlinkre-holger80-qisqdd
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.8"}
created2020-10-26 06:36:51
last_update2020-10-26 06:36:51
depth1
children2
last_payout2020-11-02 06:36:51
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_length8
author_reputation72,732,734,414,457
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,257,133
net_rshares0
@quackme ·
Are you earning tan? 
properties (22)
authorquackme
permlinkre-theguruasia-20201026t205311393z
categoryhive-139531
json_metadata{"tags":["ecency"],"app":"ecency/3.0.7-mobile","format":"markdown+html"}
created2020-10-26 19:53:39
last_update2020-10-26 19:53:39
depth2
children0
last_payout2020-11-02 19:53:39
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_length21
author_reputation0
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,264,399
net_rshares0
@tan.bot ·
<center>
<sup>Congratulations, @theguruasia You Successfully Trended The Post Shared By @holger80.</sup>
<sup>You Utilized <b>2/3</b> Daily Summon Bot Calls.</sup>
---
<sup>[TAN Current Market Price](https://hive-engine.com/?p=market&t=TAN) : <b>0.300 HIVE</b></sup>
</center>
properties (22)
authortan.bot
permlink20201026t063701299z
categoryhive-139531
json_metadata{"tags":["tan-bot","upmelink_curation_bot"],"app":"tan-bot/1.1","format":"markdown"}
created2020-10-26 06:37:03
last_update2020-10-26 06:37:03
depth2
children0
last_payout2020-11-02 06:37: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_length276
author_reputation44,172,891,181
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,257,135
net_rshares0
@themarkymark ·
Are many people using tails?
👍  
👎  , ,
properties (23)
authorthemarkymark
permlinkre-holger80-qirqjn
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.8"}
created2020-10-25 17:43:00
last_update2020-10-25 17:43:00
depth1
children3
last_payout2020-11-01 17:43:00
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_length28
author_reputation1,780,083,309,054,027
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,249,634
net_rshares-391,601,796,946
author_curate_reward""
vote details (4)
@holger80 ·
In september 2020, Tails has been started more than 906 004 times (30 200 boots a day on average). [source](https://tails.boum.org/news/report_2020_09/)
👍  , , , ,
properties (23)
authorholger80
permlinkre-themarkymark-qirx3r
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.8"}
created2020-10-25 20:04:42
last_update2020-10-25 20:04:42
depth2
children2
last_payout2020-11-01 20:04:42
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_length153
author_reputation358,857,509,568,825
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,251,187
net_rshares16,843,563,532
author_curate_reward""
vote details (5)
@themarkymark ·
Kind of disturbing an operating system that is designed to be super secure is spying on it's use.
properties (22)
authorthemarkymark
permlinkre-holger80-qirxek
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.8"}
created2020-10-25 20:11:06
last_update2020-10-25 20:11:06
depth3
children1
last_payout2020-11-01 20:11: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_length97
author_reputation1,780,083,309,054,027
root_title"update for beem: make beem/beempy ready for tails"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,251,251
net_rshares0