The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Выпуск SFTP-сервера SFTPGo 1.0"
Версия для распечатки Пред. тема | След. тема
Форум Разговоры, обсуждение новостей
Исходное сообщение [ Отслеживать ]
Есть идеи по улучшению форума и сайта ? Пишите.
. "Выпуск SFTP-сервера SFTPGo 1.0" +/
Сообщение от OpenEcho (?), 10-Июл-20, 08:28 
Hello Drakkan,

First of all thanks a lot for the great software you created !
I spend today a few hours playing with it and I must say - it's a pretty decent replacement for classic ProFTPd, PureFTP... and so on.

I found restrictions on username and password in DDT of SQLite shipped in the folder
sqlite/sftpgo.db (Well, I know, sqlite will convert `varchar(x)` internally to a `text`, but for the sake of correctness)

That's what confused me
----
CREATE TABLE IF NOT EXISTS "users" (
    "id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
    "username" varchar(255) NOT NULL UNIQUE,
    "password" varchar(255) NULL, .....
----

For example, debian: getconf LOGIN_NAME_MAX
will return 256. I don't want to be a picky party pooper, but IMHO usernames should fit perfectly to avoid rare situation where one might create username with 256 characters and regarding password's hash length - I should take my words back since I see you keeping in a database just a hash, which is great, so password itself can be a really long.

Now my favorite Go collection advanced with sftpgo in addition to fzf, algernon, syncthing, croc and others ;)

BTW, do you have any plan to support FreeBSD ?
And the last question: Is it possible to make windows version as a portable instead of requiring to install it, so it can be used on demand by a standard user?

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Выпуск SFTP-сервера SFTPGo 1.0, opennews, 08-Июл-20, 16:12  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру