---
title: "Discussion on \"Use s3cmd and gpg to upload encrypted file\" | Hashnode"
description: "Discussion on \"Use s3cmd and gpg to upload encrypted file\". Problem\nYou want to upload file to s3, but want to encrypt it first\nSolution\nMethod 1) Use gpg to encrypt the file first, then use the s3cmd to upload:\ngpg is a built-in command in Linux, and in Mac you may need to manually install it via:\n$ brew ins..."
url: "https://hashnode.com/posts/use-s3cmd-and-gpg-to-upload-encrypted-file/6185a57dfd5d634d01698ff0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Use s3cmd and gpg to upload encrypted file](https://hn.0xbf.me/use-s3cmd-and-gpg-to-upload-encrypted-file?utm_source=hashnode&utm_medium=feed)

Problem You want to upload file to s3, but want to encrypt it first Solution Method 1) Use gpg to encrypt the file first, then use the s3cmd to upload: gpg is a built-in command in Linux, and in Mac you may need to manually install it via: $ brew ins...

Nov 5, 2021 · 2 min read · hn.0xbf.me  
Read the article

-   [#s3](https://hashnode.com/tag/s3)

## Written by

[0xBF](https://hashnode.com/@0xbf)

@0xbf

  
[View profile](https://hashnode.com/@0xbf)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
