The contents of -file often get read and passed to certutil.Decode, but that function doesn't handle all possible file-based formats. For example java trust stores. Should we expand Decode to handle every format we can?
It would help to simplify some commands for users (i.e. https://github.com/adamdecaf/cert-manage/issues/199), but could add a mess of complexity to implement all that. (Not ever file reader has a usable zero value, aka some, like NSS, require setup.)
The contents of
-file
often get read and passed tocertutil.Decode
, but that function doesn't handle all possible file-based formats. For example java trust stores. Should we expandDecode
to handle every format we can?It would help to simplify some commands for users (i.e. https://github.com/adamdecaf/cert-manage/issues/199), but could add a mess of complexity to implement all that. (Not ever file reader has a usable zero value, aka some, like NSS, require setup.)