Class AskpassScript

java.lang.Object
io.github.jbastgen.stemma.app.credential.AskpassScript

public final class AskpassScript extends Object
Writes the script that hands credentials to git and ssh into the portable configuration folder.
  • Method Details

    • directory

      public static Path directory()
      The folder of the script (and of the SSH host keys of the built-in Git): inside the configuration folder.
    • install

      public static Path install(Path directory)
      Makes sure the script exists, is current and executable.
      Returns:
      the script, or null if it cannot be written (credentials then cannot be passed to system git)