From 6bd88837cd67b9c31f5ecc13c873b8e8b6364c19 Mon Sep 17 00:00:00 2001 From: Kosuke Aoki Date: Fri, 9 Feb 2024 16:16:14 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8B=A1=E5=BC=B5=E5=AD=90=E3=81=AB=E9=96=A2?= =?UTF-8?q?=E3=81=99=E3=82=8B=E6=83=85=E5=A0=B1=E3=82=92=E3=83=86=E3=83=BC?= =?UTF-8?q?=E3=83=96=E3=83=AB=E3=81=AB=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/gpg-file-encryption.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/articles/gpg-file-encryption.md b/articles/gpg-file-encryption.md index 598210c..4561317 100644 --- a/articles/gpg-file-encryption.md +++ b/articles/gpg-file-encryption.md @@ -21,6 +21,12 @@ gpg --encrypt --recipient you@example.com --armor foo.zip # アスキーデー gpg foo.zip.gpg ``` +| | バイナリデータ | アスキーデータ | +| :---: | --- | --- | +| **利点** | ファイルサイズが元のファイルと変わらない | テキストエディタで開ける | +| **欠点** | テキストエディタでは開けない | ファイルサイズが膨らむ | +| **拡張子** | `.gpg` | `.asc` | + # はじめに @@ -75,8 +81,9 @@ gpg --encrypt --recipient you@example.com --armor foo.zip | | バイナリデータ | アスキーデータ | | :---: | --- | --- | -| 利点 | ファイルサイズが元のファイルと変わらない | テキストエディタで開ける | -| 欠点 | テキストエディタでは開けない | ファイルサイズが膨らむ[^size] | +| **利点** | ファイルサイズが元のファイルと変わらない | テキストエディタで開ける | +| **欠点** | テキストエディタでは開けない | ファイルサイズが膨らむ[^size] | +| **拡張子** | `.gpg` | `.asc` | [^size]: 筆者の環境で 1.37 GB の ZIP ファイルをこの方法で暗号化したところ 1.85 GB になりました。