mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-09-21 15:39:34 +02:00
EncryptExternal: Fix parameter passing for --sign-with option
This commit is contained in:
parent
8134e3cd12
commit
5f18edd2e7
|
@ -36,7 +36,7 @@ class EncryptExternal(
|
||||||
override fun mode(mode: EncryptAs): Encrypt = apply { commandList.add("--as=$mode") }
|
override fun mode(mode: EncryptAs): Encrypt = apply { commandList.add("--as=$mode") }
|
||||||
|
|
||||||
override fun signWith(key: InputStream): Encrypt = apply {
|
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)}")
|
envList.add("SIGN_WITH_$argCounter=${ExternalSOP.readString(key)}")
|
||||||
argCounter += 1
|
argCounter += 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue