⭕Files/Abbreviations
Gives a quick list of common PIV and GPG file types, as well as other abbreviations you'll come across on this guide.
The list below provides you with a general description of what the different types of files mean. It can be confusing when there are many different file types, but this is the most simple way of explaining them:
❊ PIV File Types
.pub
Used for public keys and OpenSSH public keys.
.key
Used to store private key.
.pkcs12, .pfx, .p12
Used to store both public and private key / certificate information. Password protected.
.pem
Used to store any type of key or cert, This includes public key, private key, certificate, or even the certificate signing request (csr).
.crt, .cer
Used to store x509 certificates.
.csr, .req, .p10
Used to store Certificate Signing Requests
❊ PIV Distinguished Name Properties
The following list translates the shorthand distinguished names properties shown in OpenSSL config templates such as in the example below:
0
C
Country Name
1
ST
State Or Province Name
Full name of the subject's state or province (for example, California).
2
L
Locality
Name of the subject's city.
3
O
Organization Name
Legal name of the subject's organization.
4
OU
Organizational Unit
Name of the subject's sub-organization or department.
5
CN
Common Name
For user certificates, the person's full name.
6
emailAddress
Email Address
Email address (for example, "someone@example.com").
7
GN
Given Name
First name of the subject.
8
title
Title
Title of individual who requested the certificate (optional).
9
description
Description
Description of certificate
10
initials
Initials
Initials of the subject (optional).
11
serialNumber
serial number
Specify a serial number for your certificate or remove.
❊ GPG File Types
The following list is associated to GPG keys.
.gpg
gpg key -- binary
.asc
gpg key -- armored
.pub
openssh public key
.sig
gpg signed document, binary format
GPG Certificate Types
This list contains abbreviations you'll come across when you execute gpg --list-secret-keys
such as in the example:
sec
Secret Key
ssb
Secret Subkey
pub
Public Key
sub
Public Subkey
uid
User identification
❊ GPG Key Capabilities
This list contains abbreviations you'll come across when you execute gpg --list-secret-keys
such as in the example:
A
Authenticate
S
Sign
C
Certify
E
Encryption
Last updated