github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/docs/cmd/vcn_unsupport.md (about) 1 ## vcn unsupport 2 3 Unsupport an asset 4 5 ### Synopsis 6 7 8 Change an asset's status so it is equal to UNSUPPORTED. 9 10 Unsupport command calculates the SHA-256 hash of a digital asset 11 (file, directory, container's image). 12 The hash (not the asset) and the desired status of UNSUPPORTED are then 13 cryptographically signed by the signer's secret (private key). 14 Next, these signed objects are sent to the blockchain where the signer’s 15 trust level and a timestamp are added. 16 When complete, a new blockchain entry is created that binds the asset’s 17 signed hash, signed status, level, and timestamp together. 18 19 Note that your assets will not be uploaded. They will be processed locally. 20 21 Assets are referenced by passed ARG(s) with unsupport command only accepting 22 1 ARG at a time. 23 24 25 ARG must be one of: 26 wildcard 27 file 28 directory 29 file://<file> 30 dir://<directory> 31 git://<repository> 32 docker://<image> 33 podman://<image> 34 wildcard://"*" 35 javacom://<java project component> 36 nodecom://<node component> 37 gocom://<Go module in name@version format> 38 pythoncom://<Python module in name@version format> 39 dotnetcom://<.Net module in name@version format> 40 41 42 ``` 43 vcn unsupport [flags] 44 ``` 45 46 ### Examples 47 48 ``` 49 vcn notarize my-file" 50 vcn notarize -r "*.md" 51 echo my-file | vcn n - 52 ``` 53 54 ### Options 55 56 ``` 57 --attach vcn a binary1 --attach=vscanner.result:jobid123 add user defined file attachments. Ex. vcn n myfile --attach mysecondfile. (repeat --attach for multiple entries). It's possible to specify a label for each entry, Ex: --attach=vscanner.result:jobid123. In this way it will be possible to retrieve the specific attachment with vcn a binary1 --attach=vscanner.result:jobid123 or `vcn a binary1 --attach=jobid123` to get all attachments 58 -a, --attr key=value add user defined attributes (repeat --attr for multiple entries) 59 --bom-cascade cascade the operation to all assets that include the asset being processed 60 --bom-force force notarization of untrusted dependencies, force cascade operation 61 --ci-attr detect CI environment variables context if presents and inject 62 --hash string specify the hash instead of using an asset, if set no ARG(s) can be used 63 -h, --help help for unsupport 64 --lc-api-key string Codenotary Cloud server api key 65 --lc-cert string local or absolute path to a certificate file needed to set up tls connection to a Codenotary Cloud server 66 --lc-host string if set with host, action will be route to a Codenotary Cloud server 67 --lc-no-tls allow insecure connections when connecting to a Codenotary Cloud server 68 --lc-port string set port for set up a connection to a Codenotary Cloud server (default 443). If --lc-no-tls is provided default port will be 80 (default "443") 69 --lc-skip-tls-verify disables tls certificate verification when connecting to a Codenotary Cloud server 70 -n, --name string set the asset name 71 --no-ignore-file if set, .vcnignore will be not written inside the targeted dir (affects dir:// only) 72 -p, --public when notarized as public, the asset name and metadata will be visible to everyone 73 --read-only if set, no files will be written into the targeted dir (affects dir:// only) 74 -r, --recursive if set, wildcard usage will walk inside subdirectories of provided path 75 ``` 76 77 ### Options inherited from parent commands 78 79 ``` 80 -o, --output string output format, one of: --output=json|--output=yaml|--output=''. In Codenotary Cloud authenticate command is possible to specify also --output=attachments. It permits to download all items attached to an artifact. 81 -S, --silent silent mode, don't show progress spinner, but it will still output the result 82 --vcnpath string config files (default is /tmp/.vcn/config.json on linux, c:\temp\config.json or c:\windows\temp\config.json on Windows) 83 --verbose if true, print additional information 84 ``` 85 86 ### SEE ALSO 87 88 * [vcn](vcn.md) - vChain CodeNotary - Notarize and authenticate, from code to production 89 90 ###### Auto generated by spf13/cobra on 18-Aug-2021