Comments (1)
If you only sign, the output is simply the signature. Not with the original input (though you can see it if you don't use --armor
or base64 decode the pgp message), so that would have to be handled somehow.
Eg:
echo "not secret" | gpg --sign --armor --output -
gpg: using "C97BC6EF3C4A85B798C69EE49507335AD42F6BF7" as default secret key for signing
-----BEGIN PGP MESSAGE-----
owEBWAKn/ZANAwAIAZUHM1rUL2v3AcsRYgBj2mu/bm90IHNlY3JldAqJAjMEAAEI
AB0WIQTJe8bvPEqFt5jGnuSVBzNa1C9r9wUCY9prvwAKCRCVBzNa1C9r96/OEACw
ODooOtrKASAEficreFE1m5nuXDre1g7UjdSrU3rQKqDO2EaTTgP8aqnyleqEVqWz
0p0GwydWmVATNsxsNzktBj1UnB0CoqER4McItHWuPjnowFBowYMLcNfIYc0yhVru
/ztinM4Hf7BSTfEsGx8H+yLaTYLb078icgmLALhf9d1rjrfa2k0o8Lz7Jzqc/C+a
umvT+X4I+KeC8XurZJ2ksFfoWVyfO+Z+RjeLbZLXerSa20wApIeeJhR8lJa0rUAz
nhyU2J8gw26wDizd09t0ThNESD/cSqMbD4NgiHmMn2on/3OJq0yV/JK4Doc74jGP
mT4QDUA2mVB5hXn073Nzqt4NFTTZo3mnRo9s43awIF32mFdScIjVARX8+gWeAwP0
O39nuya1mNKv0J/Shbu7d/b9E/Aixvz02J9PYJAbBiQntfN+Oe3fOaZ4W6k2PVK/
t2bGbHNvevdPbNAAg7pRM+cAFg65MudXlkmX3uNpXixxC5dHCn8G4XW1+J1Leq2V
ELt9ZjBiDfg3hIXNIusPAFzBlnXHwf4Xn8Ihpu0YFjBmjMvb5u6Fis6G1wTeO2XK
TWwPEcokV4CAuMA+/hoWj4Fb016A1rgl4W0uKLHJ4heZ8no8GJie5LfBJv1+Z1Sy
385gdrYBjhZd6eqLtH9ozEvb+79tdyxRaoIjoduYQg==
=tHXt
-----END PGP MESSAGE-----
from iostreams.
Related Issues (8)
- PGP functionality not compatible with current version of GPG HOT 2
- import_and_trust_key errs with gpg 1.4 HOT 1
- IOStreams::Errors::DelimiterNotFound (Delimiter: "\n" not found after reading 6553705 bytes.)
- documentation for Pgp module needs to be updated HOT 2
- Add support for embedded new lines HOT 1
- CSV processing not compatible with Ruby 2.6
- Importing PGP generated key HOT 4
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 iostreams.