Package org.jpass
Class ConfigInit
java.lang.Object
org.jpass.ConfigInit
Initialize config file
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor - initialize path to config file and check for existing config If config file doesn't exist, create it (also create version file, move wordlist into config directory and create secret file) -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]
Create Argon2d settings for hashing passwords (iterations, memory in KB, threads)static int
Edit number of seconds for copying password before it's deleted from clipboardstatic String
Add path to file with passwords (.pass file)
-
Constructor Details
-
ConfigInit
public ConfigInit()Constructor - initialize path to config file and check for existing config If config file doesn't exist, create it (also create version file, move wordlist into config directory and create secret file)
-
-
Method Details
-
editFilePath
Add path to file with passwords (.pass file)- Returns:
- path to file with passwords
-
editCopyTime
public static int editCopyTime()Edit number of seconds for copying password before it's deleted from clipboard- Returns:
- number of seconds
-
editArgon2Settings
public static int[] editArgon2Settings()Create Argon2d settings for hashing passwords (iterations, memory in KB, threads)- Returns:
- array of Argon2d settings
-