mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +08:00
Update vendor containers/(common,image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
4
vendor/github.com/sigstore/sigstore/pkg/cryptoutils/certificate.go
generated
vendored
4
vendor/github.com/sigstore/sigstore/pkg/cryptoutils/certificate.go
generated
vendored
@ -13,7 +13,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package cryptoutils TODO: add meaningfull description
|
||||
// Package cryptoutils implements support for working with encoded certificates, public keys, and private keys
|
||||
package cryptoutils
|
||||
|
||||
import (
|
||||
@ -59,6 +59,7 @@ func MarshalCertificatesToPEM(certs []*x509.Certificate) ([]byte, error) {
|
||||
func UnmarshalCertificatesFromPEM(pemBytes []byte) ([]*x509.Certificate, error) {
|
||||
result := []*x509.Certificate{}
|
||||
remaining := pemBytes
|
||||
remaining = bytes.TrimSpace(remaining)
|
||||
|
||||
for len(remaining) > 0 {
|
||||
var certDer *pem.Block
|
||||
@ -83,6 +84,7 @@ func UnmarshalCertificatesFromPEM(pemBytes []byte) ([]*x509.Certificate, error)
|
||||
func UnmarshalCertificatesFromPEMLimited(pemBytes []byte, iterations int) ([]*x509.Certificate, error) {
|
||||
result := []*x509.Certificate{}
|
||||
remaining := pemBytes
|
||||
remaining = bytes.TrimSpace(remaining)
|
||||
|
||||
count := 0
|
||||
for len(remaining) > 0 {
|
||||
|
17
vendor/github.com/sigstore/sigstore/pkg/cryptoutils/doc.go
generated
vendored
Normal file
17
vendor/github.com/sigstore/sigstore/pkg/cryptoutils/doc.go
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
//
|
||||
// Copyright 2022 The Sigstore Authors.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package cryptoutils contains utilities related to handling cryptographic materials.
|
||||
package cryptoutils
|
2
vendor/github.com/sigstore/sigstore/pkg/signature/options/context.go
generated
vendored
2
vendor/github.com/sigstore/sigstore/pkg/signature/options/context.go
generated
vendored
@ -13,7 +13,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package options TODO: add meaningfull description
|
||||
// Package options defines options for KMS clients
|
||||
package options
|
||||
|
||||
import (
|
||||
|
17
vendor/github.com/sigstore/sigstore/pkg/signature/options/doc.go
generated
vendored
Normal file
17
vendor/github.com/sigstore/sigstore/pkg/signature/options/doc.go
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
//
|
||||
// Copyright 2022 The Sigstore Authors.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package options contains functional options for the various SignerVerifiers
|
||||
package options
|
17
vendor/github.com/sigstore/sigstore/pkg/signature/payload/doc.go
generated
vendored
Normal file
17
vendor/github.com/sigstore/sigstore/pkg/signature/payload/doc.go
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
//
|
||||
// Copyright 2022 The Sigstore Authors.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package payload contains types and utilities related to the Cosign signature format.
|
||||
package payload
|
2
vendor/github.com/sigstore/sigstore/pkg/signature/payload/payload.go
generated
vendored
2
vendor/github.com/sigstore/sigstore/pkg/signature/payload/payload.go
generated
vendored
@ -13,7 +13,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Package payload TODO: add meaningfull description
|
||||
// Package payload defines a container image
|
||||
package payload
|
||||
|
||||
import (
|
||||
|
Reference in New Issue
Block a user