-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- all public functions and global variables documentation extended and rewoked - documentation compatible with qsl/doc library - documentation accessible from q process level via .doc.list .doc.find .doc.show
- Loading branch information
1 parent
360fc83
commit da97ec2
Showing
53 changed files
with
5,205 additions
and
3,675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,52 @@ | ||
/L/ Copyright (c) 2011-2014 Exxeleron GmbH | ||
/L/ | ||
/L/ Licensed under the Apache License, Version 2.0 (the "License"); | ||
/L/ you may not use this file except in compliance with the License. | ||
/L/ You may obtain a copy of the License at | ||
/L/ | ||
/L/ http://www.apache.org/licenses/LICENSE-2.0 | ||
/L/ | ||
/L/ Unless required by applicable law or agreed to in writing, software | ||
/L/ distributed under the License is distributed on an "AS IS" BASIS, | ||
/L/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
/L/ See the License for the specific language governing permissions and | ||
/L/ limitations under the License. | ||
/-/ | ||
/-/ Licensed under the Apache License, Version 2.0 (the "License"); | ||
/-/ you may not use this file except in compliance with the License. | ||
/-/ You may obtain a copy of the License at | ||
/-/ | ||
/-/ http://www.apache.org/licenses/LICENSE-2.0 | ||
/-/ | ||
/-/ Unless required by applicable law or agreed to in writing, software | ||
/-/ distributed under the License is distributed on an "AS IS" BASIS, | ||
/-/ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
/-/ See the License for the specific language governing permissions and | ||
/-/ limitations under the License. | ||
|
||
/A/ DEVnet: Bartosz Kaliszuk ([email protected]) | ||
/V/ 3.0 | ||
/D/ 2012.06.22 | ||
|
||
/S/ Password generation component: | ||
/S/ Responsible for: | ||
/S/ - generation of encrypted password for a user | ||
/S/ Usage: | ||
/S/ In order to generate a new obfuscated password for a user, please run admin.genPass interactive service from yak | ||
/S/ | ||
/S/ (start code) | ||
/S/ $ yak console core.genPass | ||
/S/ Please enter new password: USERINPUT | ||
/S/ Please re-enter new password: USERINPUT | ||
/S/ Your new password is: 0x6160e6574666 | ||
/S/ (end) | ||
/S/ | ||
/S/ This new password (`0x6160e6574666`) should be placed in access.cfg file. | ||
/S/ Note: | ||
/S/ Please note that kdb+ does not provide high level security measures on its own. | ||
/S/ Therefore, it must be noted that any user with q knowledge and access to the source code will have means of compromising the system. | ||
/S/ One way to prevent it is to compile the source code and use binaries in production environments. | ||
/-/ Responsible for: | ||
/-/ - generation of encrypted password for a user | ||
/-/ Usage: | ||
/-/ In order to generate a new obfuscated password for a user, please run admin.genPass interactive service from yak | ||
/-/ | ||
/-/ (start code) | ||
/-/ $ yak console core.genPass | ||
/-/ Please enter new password: USERINPUT | ||
/-/ Please re-enter new password: USERINPUT | ||
/-/ Your new password is: 0x6160e6574666 | ||
/-/ (end) | ||
/-/ | ||
/-/ This new password (`0x6160e6574666`) should be placed in access.cfg file. | ||
/-/ Note: | ||
/-/ Please note that kdb+ does not provide high level security measures on its own. | ||
/-/ Therefore, it must be noted that any user with q knowledge and access to the source code will have means of compromising the system. | ||
/-/ One way to prevent it is to compile the source code and use binaries in production environments. | ||
|
||
/------------------------------------------------------------------------------/ | ||
system"l ",getenv[`EC_QSL_PATH],"/sl.q"; | ||
.sl.init[`gp]; | ||
.sl.lib["cfgRdr/cfgRdr"]; // necessary now even though we don't use configuration | ||
|
||
/------------------------------------------------------------------------------/ | ||
.gp.p.dx:{[p;m] `byte$0b sv/:m<>/:0b vs/:`int$p}; | ||
|
||
/------------------------------------------------------------------------------/ | ||
/F/ Generates encrypted password. Should be execuded only when q started in console mode as it requires console interaction. | ||
/R/ no return value | ||
/E/ .gp.genpass[] | ||
.gp.genpass:{[] | ||
1 "\n\n"; | ||
1 "Please enter new password: "; | ||
|
@@ -50,5 +58,5 @@ system"l ",getenv[`EC_QSL_PATH],"/sl.q"; | |
exit[0]; | ||
}; | ||
|
||
|
||
/------------------------------------------------------------------------------/ | ||
.sl.run[`gp;`.gp.genpass;`]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.