Affected by GO-2022-0618
and 10 other vulnerabilities
GO-2022-0618 : Hashicorp Vault Privilege Escalation Vulnerability in github.com/hashicorp/vault
GO-2022-0632 : Improper Removal of Sensitive Information Before Storage or Transfer in HashiCorp Vault in github.com/hashicorp/vault
GO-2023-1708 : HashiCorp Vault's PKI mount vulnerable to denial of service in github.com/hashicorp/vault
GO-2023-1849 : Hashicorp Vault vulnerable to Cross-site Scripting in github.com/hashicorp/vault
GO-2023-1897 : HashiCorp Vault's revocation list not respected in github.com/hashicorp/vault
GO-2023-1900 : Hashicorp Vault Fails to Verify if Approle SecretID Belongs to Role During a Destroy Operation in github.com/hashicorp/vault
GO-2023-1986 : HashiCorp Vault and Vault Enterprise vulnerable to user enumeration in github.com/hashicorp/vault
GO-2023-2088 : Hashicorp Vault Incorrect Permission Assignment for Critical Resource vulnerability in github.com/hashicorp/vault
GO-2023-2329 : HashiCorp Vault Missing Release of Memory after Effective Lifetime vulnerability in github.com/hashicorp/vault
GO-2024-2617 : Authentication bypass in github.com/hashicorp/vault
GO-2024-2690 : HashiCorpVault does not correctly validate OCSP responses in github.com/hashicorp/vault
Discover Packages
github.com/hashicorp/vault
Godeps
_workspace
src
golang.org
x
crypto
openpgp
armor
package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2015
License: MPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package armor implements OpenPGP ASCII Armor, see RFC 4880 . OpenPGP Armor is
very similar to PEM except that it has an additional CRC checksum.
Encode returns a WriteCloser which will encode the data written to it in
OpenPGP armor.
A Block represents an OpenPGP armored structure.
The encoded form is:
-----BEGIN Type-----
Headers
base64-encoded Bytes
'=' base64 encoded checksum
-----END Type-----
where Headers is a possibly empty sequence of Key: Value lines.
Since the armored data can be very large, this package presents a streaming
interface.
Decode reads a PGP armored block from the given Reader. It will ignore
leading garbage. If it doesn't find a block, it will return nil, io.EOF. The
given Reader is not usable after calling this function: an arbitrary amount
of data may have been read past the end of the block.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.