Skip to content

Notation CLI: can add an empty .docx file into the trust store and list it #482

@patrickzheng200

Description

@patrickzheng200

What is the areas you experience the issue in?

Notation CLI

What is not working as expected?

Notation CLI can add an empty .docx file into the trust store and list it.

What did you expect to happen?

An error should occur saying invalid certificate or cert not found in the file before adding it into the trust store.

How can we reproduce it?

notation cert add ...
notation cert ls...

Describe your environment

any

What is the version of your Notation CLI or Notation Library?

v1.0.0-rc.1

Metadata

Metadata

Labels

bugSomething isn't workingtriageNeed to triage

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions