1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-17 00:54:50 +02:00
pgpainless/sequoia-wot-vectors/src/testFixtures/kotlin/org/sequoia_pgp/wot/vectors/OverrideVectors.kt

27 lines
673 B
Kotlin

// SPDX-FileCopyrightText: 2023 Neal H. Walfield <neal@pep.foundation>, Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: BSD-3-Clause
package org.sequoia_pgp.wot.vectors
/**
* alice
* | t0: 2/120, t1: 0/120
* v
* bob
* | 120
* v
* carol
*
* At t0, alice makes Bob a trusted introducer. At t1, she issues
* another certification, but only certifies bob. Make sure that before
* t1, alice can authenticate carol, but after t1 she can't.
*/
class OverrideVectors: ArtifactVectors {
// TODO: Extract fingerprints and UIDs
override fun getResourceName(): String {
return "org/sequoia_pgp/wot/vectors/override.pgp"
}
}