mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-02-17 00:16:29 +01:00
EncryptExternal: Fix parameter passing for --sign-with option
This commit is contained in:
parent
8134e3cd12
commit
5f18edd2e7
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class EncryptExternal(
|
|||
override fun mode(mode: EncryptAs): Encrypt = apply { commandList.add("--as=$mode") }
|
||||
|
||||
override fun signWith(key: InputStream): Encrypt = apply {
|
||||
commandList.add("--sign-with@ENV:SIGN_WITH_$argCounter")
|
||||
commandList.add("--sign-with=@ENV:SIGN_WITH_$argCounter")
|
||||
envList.add("SIGN_WITH_$argCounter=${ExternalSOP.readString(key)}")
|
||||
argCounter += 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue