GPG Environment

The GPGProjectEnvironment object shows certificate information that originates from a signing project. The values describe Gnu Privacy Guard (GPG) settings. GPG uses three keypairs for signing, encryption, and authentication.

TIP  If you need help finding or confirming GPG signing keys, call POST API/GetGPGPublicKey from Key Server. Additional cURL commands are available for doing WKD or PCS lookups.

Information can originate from a VCC environment template. You can set these values via POST Codesign/GetEnvironment.

GPGEnvironment:has these values:

  • AllowUserKeyImport: Applies only to PerUser templates. The setting for key import: true: users can import their own signing keys. false: no key import.
  • CustomFieldAttributes: Values for this environment:

    Dirty: A value of true indicates the data changed. Otherwise, false.

    Items array:

    • FieldName: A defined Custom Field name. In the UI, the definition is a Code Signing Environment with a Field Type of List or String . For example:

      Always specify the Project and/or ENV for your Custom Field

    • Values: An array of Custom Field values.

  • Dn: The Distinguished Name (DN) of the environment.
  • Guid: The GUID that uniquely identifies the environment.
  • IPAddressRestriction: An Items array of trusted client IP addresses.
  • Id: The project environment ID.
  • KeyTimeConstraints: An Items array of signing Time Constraints from VCC.
  • KeyUseFlowDN: The Distinguished Name (DN) location of the Code Signing Flow. In VCC, the flow shows required approvals, checks, and actions that enable key usage.
  • PerUser:  Only appears if the value is true. The mode that supports multiple cryptographic objects and macros to use for signing. This field determines how objects are created for the Environment.

  • ReadOnly: true: The template cannot be updated. false: The template values can change via VCC or POST Codesign/UpdateTemplate.
  • Status: 1.
  • TemplateDN:The DN of template.
  • Type: The environment category: Code Signing GPG Environment.
  • AuthenticationKeyAlgorithm: The authentication key algorithm from the Environment Template. See Environment details.
  • Email: E-mail addresses for users of the GPG key from the Environment Template. See Environment details.
  • EncryptionKeyAlgorithm: Encryption algorithms for the the GPG key from the Environment Template. See Environment details.
  • Expiration: The expiration time from the template. The number of minutes until the GPG key expires. A value of zero 0 means the key will not expire. See Environment details.
  • GPGTemplate: The setting from the GPG environment template.
  • KeyStorageLocation The location of the key; either HSM or Software. See Environment details.
  • MaxUses The maximum number of GPG key uses. See Environment details.
  • RealName The set of people who are authorized to use the GPG key. See Environment details.
  • SigningKeyAlgorithm The code signing algorithm settings from the Environment Template. See Environment details.