rsa = './private_key.pem'
region = 'ap-southeast-1'
bucket = 'target-bucket'
key = 'remote.target.tar.gz'
s3 = Aws::S3::Encryption::Client.new(encryption_key: OpenSSL::PKey::RSA.new(File.read(rsa)), region: region)
s3.get_object(response_target: './local_target.tar.gz', bucket: bucket, key: key)
解密一个 20m 的文件时,时间超过 4 小时,请问各位大神有没有遇到同样的问题?求建议