- gpgID: ID of the private GPG key.
- inFile: The file to create a signature for.
- outFile: The file with the detached signature.
- gpgParams: GPG parameters to specify the type of the signature.
- user: The owner of the output file.
- mode: The file mode of the output file.
- : true, if the signature file was created and the input file exists, otherwise false.