Skip to content

Commit 4660ef9

Browse files
authored
Merge pull request #28 from contentauth/docs/pkey_caveat
Add note about not accessing cert locally in prod
2 parents ac74feb + 8f725f2 commit 4660ef9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ except Exception as err:
7272

7373
### Add a signed manifest to a media file or stream
7474

75-
Use a `Builder` to add a manifest to an asset.
75+
**WARNING**: This example accesses the private key and security certficate directly from the local file system. This is fine during development, but doing so in production may be insecure. Instead use a Key Management Service (KMS) or a hardware security module (HSM) to access the certificate and key; for example as show in the [C2PA Python Example](https://github.com/contentauth/c2pa-python-example).
76+
77+
Use a `Builder` to add a manifest to an asset:
7678

7779
```py
7880
try:

0 commit comments

Comments
 (0)