Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.python Subject: Re: Public key encryption example. Date: Wed, 18 Nov 2015 15:56:01 -0800 Organization: A noiseless patient Spider Lines: 8 Message-ID: <87vb8ylv5a.fsf@nightsong.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="560a36ee31cc4bcf69e115b311f0cc5c"; logging-data="6805"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WWCtMaMzkL0m4NF/1jIAL" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:M3/adAydyaNwwKfmzmcyGR4gGWw= sha1:lq4ISWPLEVPurqnZBvjox5HrytI= Xref: csiph.com comp.lang.python:99013 Vincent Davis writes: > I am looking for the "simplest" example of sending(encrypting) and > receiving(decrypting) using public key encryption. I am think of something > along the lines of having all the keys in local files and saving and > reading the message from a local file. It's very easy to make mistakes doing stuff like that. Your simplest bet is to shell out to GPG or something comparable.