Comments (2)
PDF has an owner and user password. The file cannot be accessed without the owner password, although you could brute force it.
pikepdf does not enforce the editing restrictions that can be set with a user password, and currently does not implement saving encrypted files, so it saves files no restrictions at all.
p = pikepdf.open('tests/resources/graph-encrypted.pdf', password='user')
p.save('no-password.pdf')
from pikepdf.
I'll close the issue now. If you have further related questions feel free to reopen it.
from pikepdf.
Related Issues (20)
- The password param in method βopenβ HOT 1
- PackagesNotFoundError in Conda HOT 2
- image and its caption HOT 1
- Deterministic PDF generation HOT 1
- How to access OCR-data? HOT 1
- Import/Export annotations to FDF/JSON format HOT 1
- cannot install
- Accessibility Settings Issue HOT 1
- [ISSUE] Missing XMP Metadata HOT 1
- Traverse PDF layers and classes HOT 1
- Instalation errors
- How to replace the value of an Object mapped to a variable HOT 1
- pikepdf, libjpeg, l HOT 1
- 8.11.0: pytest requires `conftest` HOT 5
- Add 2 overlaid images to page with transparency mask HOT 2
- Add type checking for setting XMP metadata HOT 1
- RDF/XMP generated by pikepdf is incorrect?
- Question on file compression. HOT 1
- Re-enable 32-bit wheels on Windows HOT 2
- While emplacing a pdf, it changes underlying page metadata incorrectly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pikepdf.