Skip to content

Commit

Permalink
アスキーデータでの暗号化をクイックリファレンスから削除
Browse files Browse the repository at this point in the history
復号のほうもあわせて拡張子を変更したものを追記しないといけなくてめんどくさいので
  • Loading branch information
noraworld committed May 31, 2024
1 parent e05516e commit b966576
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions articles/gpg-file-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ published: true
zip -r foo.zip foo

# 暗号化
gpg -e -o /tmp/encrypted.zip.gpg -r you@example.com foo.zip # バイナリデータ
gpg -a -e -o /tmp/encrypted.zip.asc -r you@example.com foo.zip # アスキーデータ
gpg -e -o /tmp/encrypted.zip.gpg -r you@example.com foo.zip

# 復号
gpg -d -o /tmp/decrypted.zip encrypted.zip.gpg
Expand Down

0 comments on commit b966576

Please sign in to comment.