Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ crate-type = ["lib", "cdylib"]
normal = ["openssl-src"]

[dependencies]
c2pa = { version = "0.44.0", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]}
c2pa = { version = "0.45.0", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]}
thiserror = "1.0.49"
uniffi = "0.28.2"
openssl-src = "=300.3.1" # Required for openssl-sys
Expand Down
4 changes: 3 additions & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ impl Error {
| TooManyManifestStores => Self::Manifest { reason: err_str },
ClaimMissing { label } => Self::ManifestNotFound { reason: err_str },
AssertionDecoding(_) | ClaimDecoding => Self::Decoding { reason: err_str },
AssertionEncoding(_) | XmlWriteError | ClaimEncoding => Self::Encoding { reason: err_str },
AssertionEncoding(_) | XmlWriteError | ClaimEncoding => {
Self::Encoding { reason: err_str }
}
InvalidCoseSignature { coset_error } => Self::Signature { reason: err_str },
CoseSignatureAlgorithmNotSupported
| CoseMissingKey
Expand Down
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def getitem(d, key):

class TestC2paSdk(unittest.TestCase):
def test_version(self):
assert version() == "0.6.2"
assert version() == "0.6.3"

def test_sdk_version(self):
assert "c2pa-rs/" in sdk_version()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

class TestC2paSdk(unittest.TestCase):
def test_version(self):
self.assertIn("0.6.2", sdk_version())
self.assertIn("0.6.3", sdk_version())


class TestReader(unittest.TestCase):
Expand Down
Loading