Debian Codegraph @

debian/control

raw
1 Source: golang-github-youmark-pkcs8
2 Maintainer: Debian Go Packaging Team <[email protected]>
3 Uploaders: Drew Parsons <[email protected]>
4 Section: golang
5 Testsuite: autopkgtest-pkg-go
6 Build-Depends: debhelper-compat (= 13),
7 dh-sequence-golang
8 Build-Depends-Indep: golang-any,
9 golang-golang-x-crypto-dev
10 Standards-Version: 4.7.4
11 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-youmark-pkcs8
12 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-youmark-pkcs8.git
13 Homepage: https://github.com/youmark/pkcs8
14 XS-Go-Import-Path: github.com/youmark/pkcs8
15
16 Package: golang-github-youmark-pkcs8-dev
17 Architecture: all
18 Depends: golang-golang-x-crypto-dev,
19 ${misc:Depends}
20 Multi-Arch: foreign
21 Description: Go package to parse and convert private keys in PKCS#8 format (library)
22 pkcs8 OpenSSL can generate private keys in both "traditional format"
23 and PKCS#8 format. Newer applications are advised to use more
24 secure PKCS#8 format. Go standard crypto package provides a function
25 (http://golang.org/pkg/crypto/x509/#ParsePKCS8PrivateKey) to parse
26 private key in PKCS#8 format. There is a limitation to this function. It
27 can only handle unencrypted PKCS#8 private keys. To use this function,
28 the user has to save the private key in file without encryption, which
29 is a bad practice to leave private keys unprotected on file systems. In
30 addition, Go standard package lacks the functions to convert RSA/ECDSA
31 private keys into PKCS#8 format.
32 .
33 pkcs8 package fills the gap here. It implements functions
34 to process private keys in PKCS#8 format, as defined in
35 RFC5208 (https://tools.ietf.org/html/rfc5208) and RFC5958
36 (https://tools.ietf.org/html/rfc5958). It can handle both unencrypted
37 PKCS#8 PrivateKeyInfo format and EncryptedPrivateKeyInfo format with
38 PKCS#5 (v2.0) algorithms.