open-vault/ui/app/utils
claire bontempo 1309d724e3
ui: add params to pki parser (#18760)
* refactor parser to pull serial number from subject

* refactor pki parser

* uninstall pvtutils

* remove hideFormSection as attr

* remove hideFormSection as attr

* add string-list

* test removing issueDate

* update tests

* final answer - make number types

* change to unix time - since valueOf() is typically used internally

* add algo mapping

* add comment to complete in followon

* add attrs to pki parser

* add conditional operands so parser continues when values dont exist

* add error handling WIP

* finish tests, add error handling

* revert to helper

* move helper to util

* add parseSubject test

* finish tests

* move certs to pki helper file

* wrap parsing functions in try...catch
2023-01-24 00:49:16 +00:00
..
api-path.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00
chart-helpers.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00
clamp.js Ember Upgrade to 3.24 (#13443) 2021-12-16 20:44:29 -07:00
database-helpers.js UI/fix db role ttl display (#14224) 2022-02-23 10:00:20 -06:00
error-message.js ui: delete pki key functionality (#18146) 2022-12-01 01:24:40 +00:00
field-to-attrs.js Ember Upgrade to 4.4 (#17086) 2022-10-18 09:46:02 -06:00
identity-manager.js Ember Upgrade to 4.4 (#17086) 2022-10-18 09:46:02 -06:00
openapi-to-attrs.js Eslint prefer-const (#17864) 2022-11-09 15:15:31 -08:00
parse-pki-cert-oids.js ui: add params to pki parser (#18760) 2023-01-24 00:49:16 +00:00
parse-pki-cert.js ui: add params to pki parser (#18760) 2023-01-24 00:49:16 +00:00
path-encoding-helpers.js Ember Upgrade to 3.24 (#13443) 2021-12-16 20:44:29 -07:00
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