Replies: 1 comment 3 replies
-
I am not sure I follow what kind of output you can get: is it always an OpenPGP message, and you just don't know if it's armored ? or it isn't necessarily an OpenPGP message ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have customers who send me *.csv files of data. We suggest that they pgp encrypt the data and ascii armor it. We cannot ensure that they follow our instructions.
So what I get is a stream from a storage bucket and I don't know in advance if it is encrypted and if so, if they ascii-armored it or not.
Is there a best practice for this?
Right now I'm starting to read the stream, looking for
PGP MESSAGE
then, aborting the read, refetching the file and going down the encrypted path. That seems....barbaric.Is there a best practice for this? We cannot change the customer behavior. We have tried.
Beta Was this translation helpful? Give feedback.
All reactions