How to Install and Uninstall golang-github-youmark-pkcs8-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "golang-github-youmark-pkcs8-dev" package

This tutorial shows how to install golang-github-youmark-pkcs8-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang-github-youmark-pkcs8-dev

2. Uninstall "golang-github-youmark-pkcs8-dev" package

This guide let you learn how to uninstall golang-github-youmark-pkcs8-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove golang-github-youmark-pkcs8-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-youmark-pkcs8-dev package on Ubuntu 21.10 (Impish Indri)

Package: golang-github-youmark-pkcs8-dev
Architecture: all
Version: 1.1-2
Priority: optional
Section: universe/devel
Source: golang-github-youmark-pkcs8
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: golang-golang-x-crypto-dev
Filename: pool/universe/g/golang-github-youmark-pkcs8/golang-github-youmark-pkcs8-dev_1.1-2_all.deb
Size: 10712
MD5sum: f2d0903773c219477cd962d000382ca4
SHA1: ee7af829ba4df14667c8e89ba470b863016ff61c
SHA256: 9093fa6e7ab5f47c4a449c94753a711f751e95e26ebee3c672ce7fc4ae925549
SHA512: 2bc682f3a7d918c647e7c7993daeea941ff05c7095b6b42487e6d4683f2f364428cf577e40deb5c17cb7a8d46ba788c806708b547d661be4ed4ad962ca896c62
Homepage: https://github.com/youmark/pkcs8
Description-en: Go package to parse and convert private keys in PKCS#8 format (library)
pkcs8 OpenSSL can generate private keys in both "traditional format"
and PKCS#8 format. Newer applications are advised to use more
secure PKCS#8 format. Go standard crypto package provides a function
(http://golang.org/pkg/crypto/x509/#ParsePKCS8PrivateKey) to parse
private key in PKCS#8 format. There is a limitation to this function. It
can only handle unencrypted PKCS#8 private keys. To use this function,
the user has to save the private key in file without encryption, which
is a bad practice to leave private keys unprotected on file systems. In
addition, Go standard package lacks the functions to convert RSA/ECDSA
private keys into PKCS#8 format.
.
pkcs8 package fills the gap here. It implements functions
to process private keys in PKCS#8 format, as defined in
RFC5208 (https://tools.ietf.org/html/rfc5208) and RFC5958
(https://tools.ietf.org/html/rfc5958). It can handle both unencrypted
PKCS#8 PrivateKeyInfo format and EncryptedPrivateKeyInfo format with
PKCS#5 (v2.0) algorithms.
.
Godoc (http://godoc.org/github.com/youmark/pkcs8) Installation Supports
Go 1.10+. Release v1.1 is the last release supporting Go 1.9
.
text go get github.com/youmark/pkcs8
.
dependency This package depends on golang.org/x/crypto/pbkdf2 and
golang.org/x/crypto/scrypt packages. Use the following command
to retrieve them text go get golang.org/x/crypto/pbkdf2 go get
golang.org/x/crypto/scrypt
Description-md5: c718049075b0f74d679e09ebc27cadca