Skip to content

Commit

Permalink
chore: To do list for c2pa-crypto migration of cose_validator.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Dec 5, 2024
1 parent a9220ca commit 25cd972
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions sdk/src/cose_validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,17 @@ use x509_parser::{
};

#[cfg(feature = "openssl")]
use crate::openssl::verify_trust;
use crate::openssl::verify_trust; // Eric to investigate
#[cfg(target_arch = "wasm32")]
use crate::wasm::webpki_trust_handler::verify_trust_async;
use crate::wasm::webpki_trust_handler::verify_trust_async; // Eric to investigate
use crate::{
error::{Error, Result},
settings::get_settings_value,
time_stamp::gt_to_datetime,
trust_handler::{has_allowed_oid, TrustHandlerConfig},
validation_status,
validator::ValidationInfo,
// c2pa-crypto migration plans (2024-12-05)
error::{Error, Result}, // DON'T MOVE
settings::get_settings_value, // DON'T MOVE
time_stamp::gt_to_datetime, // already moved (duplicated?) to c2pa-crypto
trust_handler::{has_allowed_oid, TrustHandlerConfig}, // Eli to move to c2pa-crypto
validation_status, // Eric to move to c2pa-crypto
validator::ValidationInfo, // Eli to move to c2pa-status-tracker
};

pub(crate) const RSA_OID: Oid<'static> = oid!(1.2.840 .113549 .1 .1 .1);
Expand Down

0 comments on commit 25cd972

Please sign in to comment.