Skip to content

Commit e5880c5

Browse files
committed
enable permission check.
1 parent 877b1f5 commit e5880c5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
![logo](pdfchip3.png)
88
# pdfcpu: a golang pdf processor
99

10-
Package pdfcpu is a simple PDF processing library written in [Go](http://golang.org)
10+
Package pdfcpu is a simple PDF processing library written in [Go](http://golang.org).
1111
It provides both an API and a command line tool.
1212
Supported are all versions up to PDF 1.7 (ISO-32000).
1313

@@ -58,7 +58,8 @@ I also wanted to have my own swiss army knife for PDFs written entirely in [Go](
5858
### Status
5959
Version: 0.0.7
6060

61-
The extraction code for font files and images is experimental and serves as proof of concept only.
61+
* Encryption support is available for the PDF standard security handler.
62+
* The extraction code for font files and images is experimental and serves as proof of concept only.
6263

6364

6465
### To Do

crypto/crypto.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ func printP(enc *Encrypt) {
268268
// HasNeededPermissions returns true if permissions for pdfcpu processing are present.
269269
func HasNeededPermissions(enc *Encrypt) bool {
270270

271-
return true
272-
273271
// see 7.6.3.2
274272

275273
printP(enc)

0 commit comments

Comments
 (0)