mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 02:39:39 +02:00
Bump bc to 1.80-SNAPSHOT, sop-java to 10.1.0-SNAPSHOT
This commit is contained in:
parent
588b9d7469
commit
5b48eb07bf
4 changed files with 4 additions and 10 deletions
|
@ -4,10 +4,10 @@
|
||||||
|
|
||||||
package org.pgpainless.bouncycastle.extensions
|
package org.pgpainless.bouncycastle.extensions
|
||||||
|
|
||||||
import org.bouncycastle.asn1.gnu.GNUObjectIdentifiers
|
|
||||||
import org.bouncycastle.bcpg.ECDHPublicBCPGKey
|
import org.bouncycastle.bcpg.ECDHPublicBCPGKey
|
||||||
import org.bouncycastle.bcpg.ECDSAPublicBCPGKey
|
import org.bouncycastle.bcpg.ECDSAPublicBCPGKey
|
||||||
import org.bouncycastle.bcpg.EdDSAPublicBCPGKey
|
import org.bouncycastle.bcpg.EdDSAPublicBCPGKey
|
||||||
|
import org.bouncycastle.internal.asn1.gnu.GNUObjectIdentifiers
|
||||||
import org.bouncycastle.jcajce.provider.asymmetric.util.ECUtil
|
import org.bouncycastle.jcajce.provider.asymmetric.util.ECUtil
|
||||||
import org.bouncycastle.openpgp.PGPPublicKey
|
import org.bouncycastle.openpgp.PGPPublicKey
|
||||||
import org.pgpainless.algorithm.PublicKeyAlgorithm
|
import org.pgpainless.algorithm.PublicKeyAlgorithm
|
||||||
|
|
|
@ -44,7 +44,7 @@ class HardwareSecurity {
|
||||||
class HardwareDataDecryptorFactory(
|
class HardwareDataDecryptorFactory(
|
||||||
override val subkeyIdentifier: SubkeyIdentifier,
|
override val subkeyIdentifier: SubkeyIdentifier,
|
||||||
private val callback: DecryptionCallback,
|
private val callback: DecryptionCallback,
|
||||||
) : CustomPublicKeyDataDecryptorFactory {
|
) : BcPublicKeyDataDecryptorFactory(null), CustomPublicKeyDataDecryptorFactory {
|
||||||
|
|
||||||
// luckily we can instantiate the BcPublicKeyDataDecryptorFactory with null as argument.
|
// luckily we can instantiate the BcPublicKeyDataDecryptorFactory with null as argument.
|
||||||
private val factory: PublicKeyDataDecryptorFactory = BcPublicKeyDataDecryptorFactory(null)
|
private val factory: PublicKeyDataDecryptorFactory = BcPublicKeyDataDecryptorFactory(null)
|
||||||
|
|
|
@ -12,7 +12,6 @@ import org.bouncycastle.util.io.Streams
|
||||||
import org.pgpainless.decryption_verification.OpenPgpInputStream
|
import org.pgpainless.decryption_verification.OpenPgpInputStream
|
||||||
import org.pgpainless.util.ArmoredOutputStreamFactory
|
import org.pgpainless.util.ArmoredOutputStreamFactory
|
||||||
import sop.Ready
|
import sop.Ready
|
||||||
import sop.enums.ArmorLabel
|
|
||||||
import sop.exception.SOPGPException
|
import sop.exception.SOPGPException
|
||||||
import sop.operation.Armor
|
import sop.operation.Armor
|
||||||
|
|
||||||
|
@ -46,9 +45,4 @@ class ArmorImpl : Armor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("Setting custom labels is not supported.")
|
|
||||||
override fun label(label: ArmorLabel): Armor {
|
|
||||||
throw SOPGPException.UnsupportedOption("Setting custom Armor labels not supported.")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,12 +8,12 @@ allprojects {
|
||||||
isSnapshot = true
|
isSnapshot = true
|
||||||
pgpainlessMinAndroidSdk = 10
|
pgpainlessMinAndroidSdk = 10
|
||||||
javaSourceCompatibility = 1.8
|
javaSourceCompatibility = 1.8
|
||||||
bouncyCastleVersion = '1.78.1'
|
bouncyCastleVersion = '1.80-SNAPSHOT'
|
||||||
bouncyPgVersion = bouncyCastleVersion
|
bouncyPgVersion = bouncyCastleVersion
|
||||||
junitVersion = '5.8.2'
|
junitVersion = '5.8.2'
|
||||||
logbackVersion = '1.5.13'
|
logbackVersion = '1.5.13'
|
||||||
mockitoVersion = '4.5.1'
|
mockitoVersion = '4.5.1'
|
||||||
slf4jVersion = '1.7.36'
|
slf4jVersion = '1.7.36'
|
||||||
sopJavaVersion = '10.0.3'
|
sopJavaVersion = '10.1.0-SNAPSHOT'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue