mbed TLS

According to Wikipedia:

mbed TLS (previously PolarSSL) is an implementation of the TLS and SSL protocols and the respective cryptographic algorithms and support code required. It is dual-licensed with the Apache License version 2.0 (with GPLv2 also available). Stated on the website is that mbed TLS aims to be "easy to understand, use, integrate and expand".

Installation

Install the mbedtls package.

Usage

The command names start with "mbedtls_", for usage examples see the Knowledge Base.

Generate an RSA private key

$ mbedtls_gen_key rsa_keysize=keysize filename=filename

Generate a certificate signing request

$ mbedtls_cert_req filename=private_key subject_name=subject output_file=filename

Relevant how-to

Generate a self-signed certificate

$ mbedtls_cert_write selfsign=1 issuer_key=private_key issuer_name=subject not_before=YYYYMMDDHHMMSS not_after=YYYYMMDDHHMMSS is_ca=1 max_pathlen=0 output_file=file

Relevant how-to

gollark: If you want to do something OOPy, which the hooks are for, then you should at least use the mechanisms the language actually provides for it.
gollark: I've always found the React hooks vaguely horrific.
gollark: Presumably if you had a really good model for audio/vision/whatever you could just transfer-learn it (or part of it, for efficiency) onto whatever subtask you want.
gollark: It sounds like you want it to do maths homework or something?
gollark: The TPUs come with their own very powerful computers attached which you can now use.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.