rubrik 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/rubrik/version.rb +1 -1
- data/lib/rubrik.rb +0 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b773c74e295ae4696469fb10aa10cbb80705a44b0f7f9e5b7772b08a3bab5493
|
4
|
+
data.tar.gz: 1d1d6efd3f7d53a649f3369e062bf998ac37234b7e4e4f39c73ddcf48ac4d7f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a249b176bde1b19d968a846c3eaed6a855d5ad882bc53b9946aed4f5ff902b12c6583f5cec5caa6d8a9086ecf22da910c09832e9ff27e97d262485dff714e2c
|
7
|
+
data.tar.gz: cfe1ca7af5f35cb43f8cc1660f7c85ea8ca27a9a3ebd19bf1e97cd93e031f8a6c51bb36703c2f88cc4dbf6b8f3e0cb90d6e5c6a4bb7b4542eccdac53094ed49f
|
data/README.md
CHANGED
@@ -10,15 +10,15 @@ This gem is under development and may be subjected to breaking changes.
|
|
10
10
|
|
11
11
|
### PDF Features
|
12
12
|
- [x] Modify PDFs with incremental updates (doesn't modify the documents, only append signature appearence)
|
13
|
-
- []
|
14
|
-
- []
|
13
|
+
- [ ] Signature appearence (stamp)
|
14
|
+
- [ ] External (offline) signatures
|
15
15
|
|
16
16
|
### Signature Profiles
|
17
17
|
- [x] CMS (PKCS#7)
|
18
|
-
- []
|
19
|
-
- []
|
20
|
-
- []
|
21
|
-
- []
|
18
|
+
- [ ] PAdES B-B (conforms with PAdES-E-BES)
|
19
|
+
- [ ] PAdES B-T (conforms with PAdES-E-BES)
|
20
|
+
- [ ] PAdES AD-RB
|
21
|
+
- [ ] PAdES AD-RT
|
22
22
|
|
23
23
|
## Installation
|
24
24
|
|
@@ -37,7 +37,7 @@ With the gem loaded, run the following to sign an document:
|
|
37
37
|
```ruby
|
38
38
|
# The input and output can be of types `File`, `Tempfile` or `StringIO`.
|
39
39
|
input_pdf = File.open("example.pdf", "rb")
|
40
|
-
output_pdf = File.open("signed_example.pdf", "wb")
|
40
|
+
output_pdf = File.open("signed_example.pdf", "wb+") # needs read permission
|
41
41
|
|
42
42
|
# Load Certificate(s)
|
43
43
|
certificate = File.open("example_cert.pem", "rb")
|
data/lib/rubrik/version.rb
CHANGED
data/lib/rubrik.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubrik
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomás Coêlho
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Sign PDFs digitally in pure Ruby
|