Bitcoin Forum
June 15, 2024, 09:11:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can BTC be used as a GNUPG replacement?  (Read 1027 times)
str4wm4n (OP)
Legendary
*
Offline Offline

Activity: 1611
Merit: 1001


View Profile
March 10, 2013, 06:13:15 AM
Last edit: March 10, 2013, 06:26:09 AM by str4wm4n
 #1

I probably don't know/understand enough about the inner workings of both bitcoin and pgp, so please forgive me if the answer to my question is obvious!

is it possible to encrypt a message using a bitcoin address and then decrypt it using the private key of that address?

if someone wants to send me a private message, and they know a bitcoin address of mine, can they use it for encryption, and can I decrypt the message with my private key?

misterbigg
Legendary
*
Offline Offline

Activity: 1064
Merit: 1001



View Profile
March 10, 2013, 06:33:25 AM
 #2

Short answer: Yes

Long answer: Someone needs to write the software to allow out-of-band encryption and decryption of messages using Bitcoin public/private key pairs.

Edit: Well, armory beat me to it!
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
March 10, 2013, 07:13:45 AM
 #3

Isn't this the bitmessage method?
Stardust
Full Member
***
Offline Offline

Activity: 189
Merit: 100


View Profile
March 10, 2013, 01:22:21 PM
 #4

GPG is an identity mechanism, and is tied to your email. Bitcoin addresses are all anonymous, and aren't really easy to pin point to a straight forward id.

You don't email to use GPG, and you can be anonymous.  Technically both Bitcoin and GPG are pseudonymous.

It would be cool if GPG would implement some things from Bitcoin:  Instead of hex, encode the hash (fingerprint) into Base58/62.  Support for ECDSA/ECDH (or something similar to go with ECDSA).  Include public key in signature.
Killdozer
Full Member
***
Offline Offline

Activity: 203
Merit: 100



View Profile
March 10, 2013, 01:42:22 PM
 #5

Quote
is it possible to encrypt a message using a bitcoin address and then decrypt it using the private key of that address?

if someone wants to send me a private message, and they know a bitcoin address of mine, can they use it for encryption, and can I decrypt the message with my private key?

Why would you want to? It's not like GPG keys cost money...

misterbigg
Legendary
*
Offline Offline

Activity: 1064
Merit: 1001



View Profile
March 10, 2013, 03:52:55 PM
 #6

Why would you want to? It's not like GPG keys cost money...

It's convenient if you've already established identities with someone by doing business with Bitcoin since you have each others' public keys.
Rothgar
Sr. Member
****
Offline Offline

Activity: 374
Merit: 250


Tune in to Neocash Radio


View Profile WWW
March 10, 2013, 03:58:48 PM
 #7

The armory page doesn't claim that messages can be encrypted.  It only claims that messages can be signed.

Visit http://neocashradio.com for the premier weekly bitcoin podcast.
Follow neocashradio on twitter.  https://twitter.com/NeocashRadio
wareen
Millionaire
Legendary
*
Offline Offline

Activity: 910
Merit: 1001

Revolutionizing Brokerage of Personal Data


View Profile
March 10, 2013, 03:59:37 PM
 #8

is it possible to encrypt a message using a bitcoin address and then decrypt it using the private key of that address?

The problem here is that Bitcoin addresses are hashes of public keys and not public keys themselves. As soon as the owner of the address broadcasts a transaction however, the full public key becomes part of the blockchain. You might be interested in Bitmessage for a full-blown solution to that problem but then again: GPG works just fine.

        ▄▄▀▀▄▄
    ▄▄▀▀▄▄██▄▄▀▀▄▄
▄▄▀▀▄▄█████▄████▄▄▀▀▄▄
█▀▀█▄█████████████
█▄▄████▀   ▀██████
███████     █▄████
█████▀█▄   ▄██████
█▄█████▌   ▐█████
█████▀█     ██████
██▄███████████████
▀▀▄▄▀▀█████▀████▀▀▄▄▀▀
    ▀▀▄▄▀▀██▀▀▄▄▀▀
        ▀▀▄▄▀▀
.PDATA..
.
TOKEN..
██
██
██   ██
██   ██
██   ██
██   ██
██   ██
██   ██

██   ██
██   ██

██   ██
██
██
██
██
██  ██
██  ██
██  ██
██  ██
██  ██
██  ██

██  ██
██  ██

██  ██
██
██
██
██
██   ██
██   ██
██   ██
██   ██
██   ██
██   ██

██   ██
██   ██

██   ██
██
██
TELEGRAM     BITCOINTALK     FACEBOOK
MEDIUM    SLACK    TWITTER    YOUTUBE
▬▬▬▬▬▬▬   E M A I L   ▬▬▬▬▬▬▬
██
██
██  ██
██  ██
██  ██
██  ██
██  ██
██  ██

██  ██
██  ██

██  ██
██
██
gyverlb
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



View Profile
March 10, 2013, 04:06:45 PM
 #9

GPG manages a web of trusts which can be mandatory when you can't meet a person yourself to verify his/her identity and have to rely on people you trust to do it.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!