Author

Topic: Sign files (Read 751 times)

newbie
Activity: 39
Merit: 0
March 11, 2014, 05:40:48 PM
#4
What a problem with gpg - OpenPGP encryption and signing tool
Code:
gpg --help
 -s, --sign [ file ]             make a signature


Code:
man gpg

Quote
       -s     Make  a  signature. This command may be combined with --encrypt (for a signed and encrypted message), --symmetric (for a signed and symmetrically encrypted message), or --encrypt and --symmetric together (for a
              signed message that may be decrypted via a secret key or a passphrase).  The key to be used for signing is chosen by default or can be set with the --local-user and --default-key options.


Almost every secure focused distributive iso signed, see for example Tails: https://tails.boum.org/torrents/files/tails-i386-0.22.1.iso.sig

However, Debian sign hashes http://cdimage.debian.org/debian-cd/7.4.0/amd64/jigdo-bd/MD5SUMS.sign
full member
Activity: 173
Merit: 100
March 08, 2014, 08:23:33 AM
#3
Hi,

I am looking for a way to sign the content of (binary) files with my private keys. Almost every client can sign text messages, but I haven't found a solution for signing files.

Any ideas or hints on existing solutions?



Internally, the clients actually only sign the hash digest of the text message we enter:)
full member
Activity: 128
Merit: 107
March 06, 2014, 02:30:32 PM
#2
You could hash the file and then sign the hash.

It's should be relatively easy with pybitcointools or on linux command line:

   shasum -a 256 yourfile

Then you can use bitcoind or bitcoin-qt to sign.

sr. member
Activity: 316
Merit: 250
March 06, 2014, 11:51:28 AM
#1
Hi,

I am looking for a way to sign the content of (binary) files with my private keys. Almost every client can sign text messages, but I haven't found a solution for signing files.

Any ideas or hints on existing solutions?

Jump to: