mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
add Data At Rest Encryption support
This commit is contained in:
@@ -1463,8 +1463,9 @@ func TestSCPDownloadFileData(t *testing.T) {
|
||||
WriteError: writeErr,
|
||||
}
|
||||
connection := &Connection{
|
||||
BaseConnection: common.NewBaseConnection("", common.ProtocolSCP, dataprovider.User{}, nil),
|
||||
channel: &mockSSHChannelReadErr,
|
||||
BaseConnection: common.NewBaseConnection("", common.ProtocolSCP, dataprovider.User{},
|
||||
vfs.NewOsFs("", os.TempDir(), nil)),
|
||||
channel: &mockSSHChannelReadErr,
|
||||
}
|
||||
scpCommand := scpCommand{
|
||||
sshCommand: sshCommand{
|
||||
|
||||
Reference in New Issue
Block a user