ROOTPLOIT
Server: LiteSpeed
System: Linux in-mum-web1878.main-hosting.eu 5.14.0-570.21.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 11 07:22:35 EDT 2025 x86_64
User: u435929562 (435929562)
PHP: 7.4.33
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //proc/self/root/opt/go/pkg/mod/github.com/aws/[email protected]/service/s3/s3crypto/fixture.go
package s3crypto

import "fmt"

type clientVersion int

const (
	v1ClientVersion clientVersion = 1 + iota
	v2ClientVersion
)

var errDeprecatedIncompatibleCipherBuilder = fmt.Errorf("attempted to use deprecated or incompatible cipher builder")

// compatibleEncryptionFixture is an unexported interface to expose whether a given fixture is compatible for encryption
// given the provided client version.
type compatibleEncryptionFixture interface {
	isEncryptionVersionCompatible(clientVersion) error
}

// awsFixture is an unexported interface to expose whether a given fixture is an aws provided fixture, and whether that
// fixtures dependencies were constructed using aws types.
//
// This interface is used in v2 clients to warn users if they are using custom implementations of ContentCipherBuilder
// or CipherDataGenerator.
type awsFixture interface {
	isAWSFixture() bool
}