cas icon indicating copy to clipboard operation
cas copied to clipboard

VCN notarizing ""

Open mabmayer opened this issue 3 years ago • 0 comments

What happened

Used vcn in a shell script, with CNIL as backend. Due to an error in my script, it happend that vcn was called with the following line: vcn-v0.9.6-linux-amd64 notarize ""

What you expected to happen In that situation, I expected vcn to throw an error when called with an empty string. Instead, vcn notarized the current working directory.

How to reproduce it (as minimally and precisely as possible)

export VCN_LC_HOST=lc.local
export VCN_LC_API_KEY=<MASKED>
export VCN_LC_SKIP_TLS_VERIFY=true
vcn-v0.9.6-linux-amd64 notarize ""

Environment

Version:		v0.9.6
Git Rev:		872e3e0de65f2f48566147851d0146f57b42932b (master)
UserAgent:		vcn/v0.9.6 (linux; amd64)
Config file:		/tmp/.vcn/config.json
Log level:		fatal

Host:			lc.local
Port:			443
No-tls:			false
Skip-verify-tls:	true
Certificate:	
Current signerID(if api key env is set):	sign

mabmayer avatar Jun 14 '21 09:06 mabmayer