Package org.jpass

Class ConfigInit

java.lang.Object
org.jpass.ConfigInit

public class ConfigInit extends Object
Initialize config file
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    static 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 clipboard
    static String
    Add path to file with passwords (.pass file)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static String 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