0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00
Commit graph

28 commits

Author SHA1 Message Date
Adrian Dvergsdal
7493f162dc
Rewrite build process and include alpine in master 2020-07-17 16:24:33 +02:00
Adrian Dvergsdal
6e68b54efa
Ignore cleanup failure 2020-07-17 01:38:38 +02:00
Adrian Dvergsdal
a03ecdf4fc
Fix submodule tests/shunit2 2020-07-17 01:29:36 +02:00
Adrian Dvergsdal
55900d4327
Test posibility of using chroot in subdirs (#207) 2020-07-14 22:28:13 +02:00
Adrian Dvergsdal
9baa6a5b2f
Fixes #158: duplicate authorized keys 2020-07-12 22:08:12 +02:00
Adrian Dvergsdal
b5cc641442
Test dir with spaces 2018-11-16 16:04:28 +01:00
Adrian Dvergsdal
b571394a43
Tests in shunit2 and extracted user creation 2018-11-16 00:57:33 +01:00
Adrian Dvergsdal
d5d670f682
Use lower-case usernames in test.
See #109 for more info.
2018-01-17 22:52:57 +01:00
Adrian Dvergsdal
a2863269a0
Remove unused stdin args and parse args from env 2018-01-04 20:16:17 +01:00
Adrian Dvergsdal
f315792bd7 Allow comments in users.conf 2017-10-08 19:08:53 +02:00
Adrian Dvergsdal
da53454b4b Validation of args and allow command override
Using regex to validate arguments. Remove readme and usage output from
image (expecting people to read documentation online). Some cleanups.
2017-10-08 18:36:51 +02:00
Adrian Dvergsdal
2891aab052 Test usernames with dots 2017-06-25 15:16:41 +02:00
Adrian Dvergsdal
c4fd217a7e Backward compatibility with legacy config path 2017-06-25 14:05:22 +02:00
Adrian Dvergsdal
11ac015ed4 Tests need sudo on some systems (like mine) and wait on server 2017-06-05 13:30:16 +02:00
Adrian Dvergsdal
bfe3c13470 --no-cache build option by default 2016-09-26 20:13:53 +02:00
Adrian Dvergsdal
e6aa103675 Typo and text update 2016-08-18 12:45:59 +02:00
Adrian Dvergsdal
d961e18d73 Fix dir for loop 2016-08-12 20:45:21 +02:00
Adrian Dvergsdal
429d8559d2 Create directories and/or set permissions 2016-08-12 16:21:07 +02:00
Adrian Dvergsdal
3042075111 Improved security 2016-07-31 15:36:36 +02:00
Adrian Dvergsdal
2d7f37cd20 Document and test bind-mounting with /etc/sftp.d/ 2016-03-17 21:27:41 +01:00
Adrian Dvergsdal
27939df2ff Minor refactoring of checks 2015-12-21 01:37:42 +01:00
Adrian Dvergsdal
c5d2a490ef Test minimal setup as well 2015-12-20 23:45:28 +01:00
Adrian Dvergsdal
6213664492 Check if STDIN is coming from a pipe or a file
See: http://www.linuxjournal.com/content/working-stdin-and-stdout
2015-12-16 11:54:57 +01:00
Adrian Dvergsdal
8d310f3af0 Add users from STDIN or config file 2015-12-07 10:10:24 +01:00
Adrian Dvergsdal
be889cbea5 Make sure private key is only readable by user 2015-11-23 14:02:41 +01:00
Adrian Dvergsdal
bc2cbdef4f Add basic unit testing 2015-11-23 13:39:17 +01:00
Adrian Dvergsdal
c88a232a40 Add beforeTest and afterTest in bashunit 2015-11-23 13:37:46 +01:00
Adrian Dvergsdal
13a79b5e8f Add bashunit.bash
Source:
4a155c4e4f/bashunit.bash
2015-11-22 19:19:04 +01:00