open-vault/ui/app/utils
Alexander Scheel fcb24ad8bc
Add support for missing attributes in PKI UI (#18953)
* Add additional OIDs for extKeyUsage

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Allow ignoring AIA info on issuers

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Tell users which extension OIDs are not allowed

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add commentary on cross-signing failure modes

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add parsing of keyUsage

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Remove ext_key_usage parsing - doesn't exist on API

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add support for parsing ip_sans attribute

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Use Uint8Array directly for key_usage parsing

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add error on unknown key usage values

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Fix typing of IPv6 SANs, verficiation of keyUsages

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Correctly format ip addresses

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* add ip_sans to details page

* fix typo

* update tests

* alphabetize attrs

* hold off on ip compression

* rename model attrs

* parse other_names

* is that illegal

* add parenthesis to labels

* update tests to account for other_sans

---------

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
Co-authored-by: clairebontempo@gmail.com <clairebontempo@gmail.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-02-03 11:36:02 -08:00
..
api-path.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00
chart-helpers.js UI: combine current + history client count tabs into one dashboard (#17575) 2023-01-26 18:21:12 -08:00
clamp.js
database-helpers.js
error-message.js ui: delete pki key functionality (#18146) 2022-12-01 01:24:40 +00:00
field-to-attrs.js
identity-manager.js
openapi-to-attrs.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00
parse-pki-cert-oids.js Add support for missing attributes in PKI UI (#18953) 2023-02-03 11:36:02 -08:00
parse-pki-cert.js Add support for missing attributes in PKI UI (#18953) 2023-02-03 11:36:02 -08:00
path-encoding-helpers.js
remove-record.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00
trim-right.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00
validators.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00