mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-07 17:29:44 +02:00
Fix formatting issues
This commit is contained in:
parent
091b5f9a5e
commit
138e275bb6
2 changed files with 7 additions and 5 deletions
|
@ -21,7 +21,9 @@ class UpdateKeyExternal(binary: String, environment: Properties) : UpdateKey {
|
|||
|
||||
override fun signingOnly(): UpdateKey = apply { commandList.add("--signing-only") }
|
||||
|
||||
override fun noAddedCapabilities(): UpdateKey = apply { commandList.add("--no-added-capabilities") }
|
||||
override fun noAddedCapabilities(): UpdateKey = apply {
|
||||
commandList.add("--no-added-capabilities")
|
||||
}
|
||||
|
||||
override fun withKeyPassword(password: ByteArray): UpdateKey = apply {
|
||||
commandList.add("--with-key-password=@ENV:KEY_PASSWORD_$argCount")
|
||||
|
|
|
@ -20,14 +20,14 @@ interface UpdateKey {
|
|||
fun noArmor(): UpdateKey
|
||||
|
||||
/**
|
||||
* Allow key to be used for signing only.
|
||||
* If this option is not present, the operation may add a new, encryption-capable component key.
|
||||
* Allow key to be used for signing only. If this option is not present, the operation may add a
|
||||
* new, encryption-capable component key.
|
||||
*/
|
||||
@Throws(SOPGPException.UnsupportedOption::class) fun signingOnly(): UpdateKey
|
||||
|
||||
/**
|
||||
* Do not allow adding new capabilities to the key.
|
||||
* If this option is not present, the operation may add support for new capabilities to the key.
|
||||
* Do not allow adding new capabilities to the key. If this option is not present, the operation
|
||||
* may add support for new capabilities to the key.
|
||||
*/
|
||||
@Throws(SOPGPException.UnsupportedOption::class) fun noAddedCapabilities(): UpdateKey
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue