Display a gpg signature as a string of zeros and ones?
    Daniel Kahn Gillmor 
    dkg at fifthhorseman.net
       
    Fri Apr  7 18:08:43 CEST 2017
    
    
  
On Thu 2017-04-06 13:39:23 -0400, joao baleza via Gnupg-users wrote:
> Hi there,is there any way to display a gpg signature as a string of
> zeros and ones?Thanking in advance,jbs
any data can be represented as a string of ones and zeros, but there are
many different convention for how to order and group such a thing.
the xxd tool will take any input and convert it to arbitrary forms.  for
ones and zeros, you can use -bits.  for example:
0 dkg at alice:~$ echo this is a test | xxd -bits
00000000: 01110100 01101000 01101001 01110011 00100000 01101001  this i
00000006: 01110011 00100000 01100001 00100000 01110100 01100101  s a te
0000000c: 01110011 01110100 00001010                             st.
0 dkg at alice:~$
you can use this technique on anything, including an OpenPGP signature.
hth,
    --dkg
    
    
More information about the Gnupg-users
mailing list