Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99015

Re: Public key encryption example.

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Public key encryption example.
Date Thu, 19 Nov 2015 11:04:00 +1100
Lines 13
Message-ID <mailman.434.1447891448.16136.python-list@python.org> (permalink)
References <mailman.431.1447888735.16136.python-list@python.org> <87vb8ylv5a.fsf@nightsong.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de MyvaLofw8IFEMMxxMbDaNw5g6zQxPGcrOVD7shT8SriA==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'python,': 0.02; 'cc:addr :python-list': 0.09; 'gpg': 0.09; 'thu,': 0.15; 'comparable.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:key': 0.16; 'wrote:': 0.16; 'shell': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'keys': 0.22; 'file.': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'paul': 0.24; "i've": 0.25; 'example': 0.26; 'message-id:@mail.gmail.com': 0.27; 'that.': 0.30; 'though.': 0.33; 'received:google.com': 0.35; 'done': 0.35; 'library.': 0.35; 'nov': 0.35; 'something': 0.35; 'lines': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'doing': 0.38; 'received:209': 0.38; 'stuff': 0.38; 'files': 0.38; 'along': 0.39; 'easy': 0.60; 'your': 0.60; 'saving': 0.70; 'chrisa': 0.84; 'to:none': 0.91; 'subject:Public': 0.91; 'mistakes': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=FsmLZFYEZ7+m5CDEzdmtmTCy7L4JBidrkad0Vv+HeSQ=; b=mrpW7+d2/WfD0uzpLgW8kLCMinpGU5P9RNzzt6l2t06jaAzOECja8W0n/zce9mHN56 z15MlQuAqByomQO2QuuvDedjQp4/LDvFFaxnvDJlLZEpHH7zejVk32Wn1wW91TzxtbIY oJ5MVZHoPYbiiYPFye8TqItqGPv2NaCVQA2Bt1hHF3c/UW5fm0AWRE1A6cNoDupPmsNN ePUrdCrKDIMuCXvpjzg60qL43fg1NetSl8GidkkUTWBIq+0oEcjhQD4crIdcVcumJC72 OzdaGL3elXqiw9o0/c80MDpAapSTqtZa2d4mV6JqyHUG/hlENvNGYDSg8y5i5FAuOgFb Gp5g==
X-Received by 10.50.30.6 with SMTP id o6mr11153230igh.94.1447891440434; Wed, 18 Nov 2015 16:04:00 -0800 (PST)
In-Reply-To <87vb8ylv5a.fsf@nightsong.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:99015

Show key headers only | View raw


On Thu, Nov 19, 2015 at 10:56 AM, Paul Rubin <no.email@nospam.invalid> wrote:
> Vincent Davis <vincent@vincentdavis.net> 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.

It's not that hard to pull up a library. I've never done it in Python, though.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Public key encryption example. Vincent Davis <vincent@vincentdavis.net> - 2015-11-18 16:18 -0700
  Re: Public key encryption example. Paul Rubin <no.email@nospam.invalid> - 2015-11-18 15:56 -0800
    Re: Public key encryption example. Chris Angelico <rosuav@gmail.com> - 2015-11-19 11:04 +1100
    Re: Public key encryption example. Vincent Davis <vincent@vincentdavis.net> - 2015-11-18 19:22 -0700

csiph-web