From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add parser for Netscape/Mozilla cookie file format Date: Mon, 9 Oct 2017 11:34:06 +0200 Message-ID: References: <20171006143448.8560-1-aaptel@suse.com> <837ew4snw3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1507541663 30775 195.159.176.226 (9 Oct 2017 09:34:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Oct 2017 09:34:23 +0000 (UTC) Cc: Aurelien Aptel , Emacs development discussions To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 09 11:34:18 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1URx-0006pz-3F for ged-emacs-devel@m.gmane.org; Mon, 09 Oct 2017 11:34:13 +0200 Original-Received: from localhost ([::1]:56849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1US4-0003P7-Km for ged-emacs-devel@m.gmane.org; Mon, 09 Oct 2017 05:34:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1URy-0003Ou-LN for emacs-devel@gnu.org; Mon, 09 Oct 2017 05:34:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1URx-0008HS-To for emacs-devel@gnu.org; Mon, 09 Oct 2017 05:34:14 -0400 Original-Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:49753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1URr-0008Dj-Lc; Mon, 09 Oct 2017 05:34:07 -0400 Original-Received: by mail-pf0-x234.google.com with SMTP id l188so13225370pfc.6; Mon, 09 Oct 2017 02:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=9hTv/C7TNA3C7+84tp/iBF/8aDBBKau14hyYCHE0k7U=; b=bZFHYAFpXLNsax9/WgsuGfus+zv9kwC26WDDmvMegVfc1oDxvEZM/tKViDN6DwvpCa w6ejp5nFtd8asIc5At1Xdnn5feyVCVh+iKF1dtu2QpRwwqfFCi3TwfRWTlpwBGNtmoDo lji7KALwdUc5HLIyM/W5/jwCVBRv/IgMCGt9H1SU+9+tYn3915wfR4h6pRqEOLpK0azK b3ffUeuBZZZWhbGOrtMbngGUOmOvTYcVzrWai5Q4D7HaD4/8jyHS3fDyZ+3TkFotYUIX 1O1MYCH0KuB1TkB3hCeh2969ih4oNrQZ2lWxxDcwRYRz/CPsjy4z5Efa3kaXLM7dtg3x K8fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=9hTv/C7TNA3C7+84tp/iBF/8aDBBKau14hyYCHE0k7U=; b=sHNQYI5bJccAg80l0Iq4eaPEODkL8S+hBjCeC5SGijBFCz9AOekHV3Q6cThHqi+u0L IybZmtSBtdCsKTYDdxaeGWza7TarsDFGcGoMw6ozlL+Q6TBGf2WRsqZ99yI8z6JJkOJp JhBaPtl0nVrxL+Ui81zzMJ9bixfJiQI1U521W/dwHECyP3l8UyPIOIdea5M2P9ft47av LfxA56KhGIsd4c6ApjA/VR7cPz1dLYIySlxzzyLI/ui6+cTPayIKQnBjYoqV8Wx3TCTB 3kJWRXa8bPslcw8siqJy4KdeWHyViSWN9iyRe/mAYPhLFOWgnOrS/hlhck6cB01NuiFX cm9A== X-Gm-Message-State: AMCzsaVtoFid1cLuHEhIVthkmEQYA2xOkvUTVR0+rw3EKmwU0zO03EOl AEO8hrEc2rQ0sLi84h7/irC8PpHyKEzEmYQOO+OS2A== X-Google-Smtp-Source: AOwi7QD3fbK1XI7ONzCX4g8ODTiBOOivUs4Bba2gGMoF0R+B+zhHnzVv46bTbO2lG0LBWQ/yYY8A6nIuHmphGPkUBhI= X-Received: by 10.99.135.199 with SMTP id i190mr8796642pge.5.1507541646537; Mon, 09 Oct 2017 02:34:06 -0700 (PDT) Original-Received: by 10.100.150.129 with HTTP; Mon, 9 Oct 2017 02:34:06 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: bbh4OpwjjgYG_kEYvDFlIrH3fvY X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219295 Archived-At: I've found a little shell script that opens the firefox sqlite cookie db and dumps them in netscape format (using the sqlite cli program). Perhaps I could add another function doing something similar if the sqlite executable is available on the system Emacs is running. https://gist.githubusercontent.com/hackerb9/d382e09683a52dcac492ebcdaf1b79af/raw/fced8cae8fd1f9573646336dcc8093a10e373e03/extract_cookies.sh