How To Install seccure on Ubuntu 18.04

In this tutorial we learn how to install seccure on Ubuntu 18.04. seccure is tools for using algorithms based on elliptic curve cryptography (ECC)

Introduction

In this tutorial we learn how to install seccure on Ubuntu 18.04.

What is seccure

seccure is:

The seccure toolset implements a selection of asymmetric algorithms based on elliptic curve cryptography (ECC). In particular, it offers public key encryption / decryption and signature generation / verification. ECC schemes offer a much better key size to security ratio than classical systems (RSA, DSA). Keys are short enough to make direct specification of keys on the command line possible (sometimes this is more convenient than the management of PGP-like key rings). seccure builds on this feature and therefore is the tool of choice whenever lightweight asymmetric cryptography – independent of key servers, revocation certificates, the Web of Trust, or even configuration files – is required.

The toolkit implements Diffie-Hellman key exchange, allowing you to agree a key with another party over an insecure channel. The Diffie Helman protocol affords forward secrecy, and requires no previous contact with the other party.

The seccure toolset allows you to select the curve that the operations are performed on, so that different cryptographic needs can be supported. This is currently the only ECC package in Debian GNU/Linux to offer a choice of curves and MAC lengths.

It is currently missing some of the functionality of the sks-ecc package, including encrypting to multiple recipients at once, and creating different signature formats.

There are three methods to install seccure on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install seccure Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install seccure using apt-get by running the following command:

sudo apt-get -y install seccure

Install seccure Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install seccure using apt by running the following command:

sudo apt -y install seccure

Install seccure Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install seccure using aptitude by running the following command:

sudo aptitude -y install seccure

How To Uninstall seccure on Ubuntu 18.04

To uninstall only the seccure package we can use the following command:

sudo apt-get remove seccure

Uninstall seccure And Its Dependencies

To uninstall seccure and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove seccure

Remove seccure Configurations and Data

To remove seccure configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge seccure

Remove seccure configuration, data, and all of its dependencies

We can use the following command to remove seccure configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge seccure

References

Summary

In this tutorial we learn how to install seccure package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.