06-signing-component-versions

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

README

Signing Component Versions

This tour illustrates the basic functionality to sign and verify signatures.

It covers two basic scenarios:

  • sign Create, Sign, Transport and Verify a component version.
  • repo Using context settings to configure signing and verification in target repo.

You can just call the main program with some config file option (--config <file>) and the name of the scenario. The config file should have the following content:

targetRepository:
  type: CommonTransportFormat
  filePath: /tmp/example06.target.ctf
  fileFormat: directory
  accessMode: 2
ocmConfig: <your ocm config file>

The actual version of the example just works with the filesystem target, because it is not possible to specify credentials for the target repository in this simple config file. But, if you specific an OCM config file you can add more credential settings to make target repositories possible requiring credentials.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL