crypto-inventory 0.4.0: Swift and Kotlin detectors (CryptoKit, CommonCrypto, Security.framework, Android Keystore, Tink, OkHttp, the libsignal Swift and Android APIs), Apple and Android manifests; remediation recipes for Apache and HAProxy measured on real servers, HAProxy precondition fixed

This commit is contained in:
Aere Network committed 2026-10-18 08:53:13 +03:00
1 parent e453c0c42d
commit b6ed4d2b71
37 files changed
+1623 -82

No files matched your search

@@ -0,0 +1,16 @@
// Fixtura negativa Kotlin: aceleasi nume scurte ca in API-ul libsignal (ECKeyPair.generate(), HKDF.deriveSecrets, Aes256GcmSiv(key)),
// dar FARA importul org.signal.libsignal: nu sunt libsignal, deci nu produc nicio gasire. Nu se compileaza; e text pentru scaner.
package fixturi
import com.exemplu.chei.ECKeyPair
import com.exemplu.kdf.HKDF
import com.exemplu.cifru.Aes256GcmSiv
class FaraLibsignal {
fun exemple(key: ByteArray, ikm: ByteArray): Any {
val ec = ECKeyPair.generate()
val okm = HKDF.deriveSecrets(ikm, "info".toByteArray(), 32)
println(listOf(ec, okm))
return Aes256GcmSiv(key)
}
}