ykaliuta / fidogate

FidoGate
GNU General Public License v2.0
12 stars 6 forks source link

Seprate tic password #13

Closed evs38 closed 4 years ago

evs38 commented 4 years ago

Some uplinks are using separate passwords for FileFix and tic. This commit adds the --enable-tick-password option to configure and defines TIC_PASSWORD to change the password context in passwd file. When this option is enabled, tic password should be added as separate string to the passwd file in the following way:

tic 2:5075/35 password

ykaliuta commented 4 years ago

At the first glance it must be refactored to be able to check 'tic' and fallback to 'ff' if it does not present. Did I miss something?

evs38 commented 4 years ago

There is no need to fallback to ff or check tic password existance in passwd file because tic password can be empty but FileFix password not. FileFix and tic passwords are really different things (like AreaFix and packet passwords), so I don't understand the reasons why they were combined into one passwd context :)

ykaliuta commented 4 years ago

Why condition then? Some strange compatibility?

evs38 commented 4 years ago

Yes, just for compatibility for those who are using ff context for both tic and FileFix or same passwords for both :)

ykaliuta commented 4 years ago

Applied.