summaryrefslogtreecommitdiff
path: root/libs/sftp
AgeCommit message (Collapse)Author
2024-11-10verifier: Add tests for documents, samba and sftpJoel Klinghed
2024-11-09sftp: More symlink fixesJoel Klinghed
2024-11-09sftp: Move common code to SftpTestHelperJoel Klinghed
2024-11-09sftp: add single merge tests for both local <-> sftp and sftp <-> localJoel Klinghed
Had to fixup the symlink code in Sftp, most importantly add a PathUtils relativeTo to fixup relative links.
2024-11-06Add SftpTestHelperJoel Klinghed
Handles the docker start and stop and all that. Useful for adding more tests that use a sftp instance.
2024-11-05Suppress unstable/incubating warnings in gradle filesJoel Klinghed
Too many useful things are "Incubating"
2024-10-31sftp: Verify server fingerprintJoel Klinghed
If no fingerprint is stored -> save whatever the server gives If a fingerprint is stored -> error if fingerprint does not match
2024-10-31sftp: Let a selection of tests use private key authenticationJoel Klinghed
Tests switch between password authentication and private key authentication depending on the hash of the method name. It's a fairly even spread. Update the docker config, it never wanted a pem file, it wanted a ssh-rsa format public key.
2024-10-31sftp: Simplify authentication with private keyJoel Klinghed
Let ssh2 derive the public key from the private key. Much easier.
2024-10-23Update OpenSSL to 3.4.0Joel Klinghed
2024-10-16Update libssh2 to 1.11.1Joel Klinghed
2024-10-14Add path to LinkJoel Klinghed
It's implementation specific if path is relative or absolute but it contains the link target. Especially useful for NoTarget.
2024-10-14Add tests for create dir/file/link that already existsJoel Klinghed
Fix implementations to work as expected (that createDirectory/File/Link fails if an entry with that name already exists).
2024-09-25sftp: Use val when possibleJoel Klinghed
2024-09-25samba & sftp: Share path utils methodsJoel Klinghed
Add tests for them, and add basename, currently unused, for completeness
2024-09-25Add libs:sftpJoel Klinghed
sftp implementation using libssh2 and openssl