gpg --list-packets equivalent to fetch raw data size of the original file

19 views
Skip to first unread message

Siddhartha Bose

unread,
Sep 29, 2021, 10:29:44 PM9/29/21
to python-gnupg
Hello Everyone,

  Today I encountered a gpg file with size 90 MB and decrypted file size (original) is around 700 MB which is huge in terms of compression. And I have a limitation in size of file. 

gpg --list-packets <filename.gpg> gives me raw data bytes which I can further use to handle the decryption in memory rather than on disk.

I couldn't find in documentation if there is any way to check raw file size.

Thanks
Sid

Vinay Sajip

unread,
Sep 29, 2021, 11:49:58 PM9/29/21
to python-gnupg

I couldn't find in documentation if there is any way to check raw file size.

 Not in python-gnupg, there isn't.

Siddhartha Bose

unread,
Sep 30, 2021, 12:00:04 AM9/30/21
to python...@googlegroups.com
Is there any other way to handle this? Or any possibility of adding this feature?

On Thu, 30 Sep 2021 at 1:50 pm, 'Vinay Sajip' via python-gnupg <python...@googlegroups.com> wrote:

I couldn't find in documentation if there is any way to check raw file size.

 Not in python-gnupg, there isn't.

--

---
You received this message because you are subscribed to a topic in the Google Groups "python-gnupg" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python-gnupg/Vrh41UgagxI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python-gnupg...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/python-gnupg/91658139-f4af-43c4-b5be-69f10b8a295en%40googlegroups.com.
--
Sid
Sent from iPhone
Reply all
Reply to author
Forward
0 new messages