View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002920 | unreal | ircd | public | 2006-05-21 20:45 | 2024-09-23 12:52 |
Reporter | aquanight | Assigned To | syzop | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | X86 | OS | Windows | OS Version | XP Pro SP2 |
Product Version | 3.2.4 | ||||
Fixed in Version | 6.0.2 | ||||
Summary | 0002920: Command-line mkpasswd for Win32. | ||||
Description | I noticed that it's not possible to generate hashed passwords from the command line on win32. I think this should be possible for those people who want to make complete working config files without having to start the ircd with an incomplete config and/or some insecure dummy password just so they can just use /mkpasswd ... Particularly, I noticed the -P command-line option is #if'd out on Win32. I think it should be possible to use this option for the reason(s) I mentioned above (even if you don't make some spiffy GUI for it). | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
3rd party modules | |||||
|
personally I think it is useless and just a waste of code. you can bind your ircd with dummy password to 127.0.0.1:<someport> then make a password and put it into your config file. |
|
1) Actually, it's a waste of code to keep it disabled. The simplest solution is remove the #ifndef _WIN32 / #endif around the case 'P': in main() (though this would probably require compiling unreal as a console application and adding a FreeConsole call somewhere). 2) As I said, some people want to have a complete and proper config file before they boot the ircd (maybe they're lazy, or paranoid, or other reason). |
|
Bump. We still need this? |
|
yep. I try to say about it to BuHHunyx (who has fixed some bugs in win ver). |
|
patch uploaded. Usage: wircd.exe -P md5 pass Result automaticly copied in clipboard. Pacth provided by BuHHunyx |
|
Patched in .2433: - Removed anything involving portnum global variable. Not proper in newconf world - 0002920 reported by aquanight, regarding command line mkpasswd, patched by BuHHunyx. Syntax: wircd.exe -P|-p authmethod password. If it is -p, it will get shown in a MessageBox, -P it will get copied to clipboard. |
|
bump |
|
Related commit from unreal3.3 is https://github.com/unrealircd/unrealircd/commit/36ba7623cfe2e297c1693c9ba27613da0ae6a526 Hopefully that helps. |
|
Copy to clipboard.. yeah.. hmm... maybe a good idea :) |
|
This was done in 6.0.2 (released Jan 28 2022) and since then unrealircd mkpasswd has been mentioned in https://www.unrealircd.org/docs/Authentication_types for Windows users. https://github.com/unrealircd/unrealircd/commit/e35c29f3d5f5d4bb68227dc139dc7148f8663be6 commit e35c29f3d5f5d4bb68227dc139dc7148f8663be6 Author: Bram Matthys <[email protected]> Date: Mon Jan 3 14:12:32 2022 +0100 Move mkpasswd operation to unrealircdctl. For *NIX users no change as this is done behind-the-scenes (the command is still ./unrealircd mkpasswd). For Windows users it finally means they can generate passwords via the CLI using: unrealircdctl mkpasswd pwdhere |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-05-21 20:45 | aquanight | New Issue | |
2006-05-22 07:39 | pinstrate | Note Added: 0011749 | |
2006-05-22 16:30 | aquanight | Note Added: 0011761 | |
2007-04-27 03:04 |
|
Note Added: 0013762 | |
2007-04-27 03:04 |
|
Status | new => feedback |
2007-04-27 03:59 | Bock | Note Added: 0013782 | |
2007-04-27 04:02 | Bock | Note Edited: 0013782 | |
2007-06-10 02:20 | WolfSage | Status | feedback => assigned |
2007-06-10 02:20 | WolfSage | Assigned To | => WolfSage |
2007-06-11 12:15 | Bock | File Added: ircd.c.diff | |
2007-06-11 12:17 | Bock | Note Added: 0014316 | |
2007-06-11 12:40 |
|
Status | assigned => resolved |
2007-06-11 12:40 |
|
Fixed in Version | => 3.3-alpha0 |
2007-06-11 12:40 |
|
Resolution | open => fixed |
2007-06-11 12:40 |
|
Note Added: 0014317 | |
2011-07-19 17:45 | syzop | Assigned To | WolfSage => |
2011-07-19 17:45 | syzop | Status | resolved => needs re porting |
2015-08-08 08:27 | syzop | Note Added: 0018575 | |
2015-08-08 17:49 | syzop | Severity | minor => feature |
2015-09-30 08:14 | dboyz | Note Added: 0018712 | |
2015-10-01 18:07 | syzop | Note Added: 0018718 | |
2024-09-23 12:51 | syzop | Assigned To | => syzop |
2024-09-23 12:51 | syzop | Status | needs re porting => resolved |
2024-09-23 12:51 | syzop | Fixed in Version | 3.3-alpha0 => 6.0.2 |
2024-09-23 12:51 | syzop | Note Added: 0023374 | |
2024-09-23 12:52 | syzop | Note Edited: 0023374 |