Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b87fae42 authored by David Drysdale's avatar David Drysdale Committed by Gerrit Code Review
Browse files

Merge "Secretkeeper: use Ed25519 identity key" into main

parents a10d3c53 38859770
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,7 @@ rust_library {
        "libauthgraph_core",
        "libauthgraph_core",
        "libauthgraph_hal",
        "libauthgraph_hal",
        "libbinder_rs",
        "libbinder_rs",
        "libcoset",
        "liblog_rust",
        "liblog_rust",
        "libsecretkeeper_core_nostd",
        "libsecretkeeper_core_nostd",
        "libsecretkeeper_comm_nostd",
        "libsecretkeeper_comm_nostd",
+6 −2
Original line number Original line Diff line number Diff line
@@ -53,7 +53,11 @@ impl LocalTa {
            let mut crypto_impls = boring::crypto_trait_impls();
            let mut crypto_impls = boring::crypto_trait_impls();
            let storage_impl = Box::new(store::InMemoryStore::default());
            let storage_impl = Box::new(store::InMemoryStore::default());
            let sk_ta = Rc::new(RefCell::new(
            let sk_ta = Rc::new(RefCell::new(
                SecretkeeperTa::new(&mut crypto_impls, storage_impl)
                SecretkeeperTa::new(
                    &mut crypto_impls,
                    storage_impl,
                    coset::iana::EllipticCurve::Ed25519,
                )
                .expect("Failed to create local Secretkeeper TA"),
                .expect("Failed to create local Secretkeeper TA"),
            ));
            ));
            let mut ag_ta = AuthGraphTa::new(
            let mut ag_ta = AuthGraphTa::new(