mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 06:34:41 +02:00
+ Implement SSH PubKey authentication
* Security related items to config/security dir
This commit is contained in:
parent
65ef1feb6c
commit
57938e761e
7 changed files with 164 additions and 96 deletions
|
@ -8,54 +8,57 @@
|
|||
// can utilize their own properties as well!
|
||||
//
|
||||
module.exports = {
|
||||
PassPbkdf2Salt : 'pw_pbkdf2_salt',
|
||||
PassPbkdf2Dk : 'pw_pbkdf2_dk',
|
||||
PassPbkdf2Salt : 'pw_pbkdf2_salt',
|
||||
PassPbkdf2Dk : 'pw_pbkdf2_dk',
|
||||
|
||||
AccountStatus : 'account_status', // See User.AccountStatus enum
|
||||
AccountStatus : 'account_status', // See User.AccountStatus enum
|
||||
|
||||
RealName : 'real_name',
|
||||
Sex : 'sex',
|
||||
Birthdate : 'birthdate',
|
||||
Location : 'location',
|
||||
Affiliations : 'affiliation',
|
||||
EmailAddress : 'email_address',
|
||||
WebAddress : 'web_address',
|
||||
TermHeight : 'term_height',
|
||||
TermWidth : 'term_width',
|
||||
ThemeId : 'theme_id',
|
||||
AccountCreated : 'account_created',
|
||||
LastLoginTs : 'last_login_timestamp',
|
||||
LoginCount : 'login_count',
|
||||
UserComment : 'user_comment', // NYI
|
||||
RealName : 'real_name',
|
||||
Sex : 'sex',
|
||||
Birthdate : 'birthdate',
|
||||
Location : 'location',
|
||||
Affiliations : 'affiliation',
|
||||
EmailAddress : 'email_address',
|
||||
WebAddress : 'web_address',
|
||||
TermHeight : 'term_height',
|
||||
TermWidth : 'term_width',
|
||||
ThemeId : 'theme_id',
|
||||
AccountCreated : 'account_created',
|
||||
LastLoginTs : 'last_login_timestamp',
|
||||
LoginCount : 'login_count',
|
||||
UserComment : 'user_comment', // NYI
|
||||
|
||||
DownloadQueue : 'dl_queue', // download_queue.js
|
||||
DownloadQueue : 'dl_queue', // download_queue.js
|
||||
|
||||
FailedLoginAttempts : 'failed_login_attempts',
|
||||
AccountLockedTs : 'account_locked_timestamp',
|
||||
AccountLockedPrevStatus : 'account_locked_prev_status', // previous account status before lock out
|
||||
FailedLoginAttempts : 'failed_login_attempts',
|
||||
AccountLockedTs : 'account_locked_timestamp',
|
||||
AccountLockedPrevStatus : 'account_locked_prev_status', // previous account status before lock out
|
||||
|
||||
EmailPwResetToken : 'email_password_reset_token',
|
||||
EmailPwResetTokenTs : 'email_password_reset_token_ts',
|
||||
EmailPwResetToken : 'email_password_reset_token',
|
||||
EmailPwResetTokenTs : 'email_password_reset_token_ts',
|
||||
|
||||
FileAreaTag : 'file_area_tag',
|
||||
FileBaseFilters : 'file_base_filters',
|
||||
FileBaseFilterActiveUuid : 'file_base_filter_active_uuid',
|
||||
FileBaseLastViewedId : 'user_file_base_last_viewed',
|
||||
FileDlTotalCount : 'dl_total_count',
|
||||
FileUlTotalCount : 'ul_total_count',
|
||||
FileDlTotalBytes : 'dl_total_bytes',
|
||||
FileUlTotalBytes : 'ul_total_bytes',
|
||||
FileAreaTag : 'file_area_tag',
|
||||
FileBaseFilters : 'file_base_filters',
|
||||
FileBaseFilterActiveUuid : 'file_base_filter_active_uuid',
|
||||
FileBaseLastViewedId : 'user_file_base_last_viewed',
|
||||
FileDlTotalCount : 'dl_total_count',
|
||||
FileUlTotalCount : 'ul_total_count',
|
||||
FileDlTotalBytes : 'dl_total_bytes',
|
||||
FileUlTotalBytes : 'ul_total_bytes',
|
||||
|
||||
MessageConfTag : 'message_conf_tag',
|
||||
MessageAreaTag : 'message_area_tag',
|
||||
MessagePostCount : 'post_count',
|
||||
MessageConfTag : 'message_conf_tag',
|
||||
MessageAreaTag : 'message_area_tag',
|
||||
MessagePostCount : 'post_count',
|
||||
|
||||
DoorRunTotalCount : 'door_run_total_count',
|
||||
DoorRunTotalMinutes : 'door_run_total_minutes',
|
||||
DoorRunTotalCount : 'door_run_total_count',
|
||||
DoorRunTotalMinutes : 'door_run_total_minutes',
|
||||
|
||||
AchievementTotalCount : 'achievement_total_count',
|
||||
AchievementTotalPoints : 'achievement_total_points',
|
||||
AchievementTotalCount : 'achievement_total_count',
|
||||
AchievementTotalPoints : 'achievement_total_points',
|
||||
|
||||
MinutesOnlineTotalCount : 'minutes_online_total_count',
|
||||
MinutesOnlineTotalCount : 'minutes_online_total_count',
|
||||
|
||||
LoginPubKey : 'login_public_key', // OpenSSL format
|
||||
//LoginPubKeyFingerprintSHA256 : 'login_public_key_fp_sha256', // hint: ssh-kegen -lf id_rsa.pub
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue