Please see "red" below. What's next then?

On 14/12/2015 17:09, Olav Seyfarth wrote:
> Hi Stanley,
>
> thanks, very clear now. I suspect that GnuPG itself cannot handle your
> key on the PC, so please open a Console (CMD), create a dummy text and
> try to encrypt to your key and decrypt afterwards, like
>
>   C:\Users\Stanley\Desktop> echo "secret plain text" > dummy.txt
>   C:\Users\Stanley\Desktop> gpg -r 0xBBE122EE -e dummy.txt
>   C:\Users\Stanley\Desktop> gpg dummy.txt.gpg
>   gpg: encrypted with 2048-Bit RSA key, ID BBE122EE, created 2015-12-12
>         "Stanley Wai Lun CHEN <[email protected]>"
>   File 'dummy.txt' already exists. Overwrite (y/N)?
>   Enter new file name: dummy.decrypted.txt
>   C:\Users\Stanley\Desktop> dir dummy*
>
> d:\Users\Stanley>echo "secret plain text" > dummy.txt
>
> d:\Users\Stanley>gpg -r 0xBBE122EE -e dummy.txt
>
> d:\Users\Stanley>gpg dummy.txt.gpg
> gpg: encrypted with 2048-bit RSA key, ID 1FE7233B, created 2015-12-12
>       "Stanley Wai Lun CHEN <[email protected]>"
> gpg: decryption failed: No secret key
>
> d:\Users\Stanley>dir dummy*
>  磁碟區 D 中的磁碟是 新增磁碟區
>  磁碟區序號:  E266-F1C0
>
>  d:\Users\Stanley 的目錄
>
> 14/12/2015  19:22                22 dummy.txt
> 14/12/2015  19:22               326 dummy.txt.gpg
>                2 個檔案             348 位元組
>                0 個目錄  1,846,124,224,512 位元組可用
>
> d:\Users\Stanley>
>
> > I then tagged the master key just for signing
>
> It seems, that didn't work out since "gpg --edit-key 0xBBE122EE" yields
>
>   gpg> list
>   pub 2048R/BBE122EE created: 2010-01-01 expires: never  Usage: SC*E*A
>   sub 2048R/1FE7233B created: 2015-12-12 expires: never  Usage: E
>
> d:\Users\Stanley>gpg --edit-key 0xBBE122EE
> gpg (GnuPG) 2.0.29; Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Secret key is available.
>
> pub  2048R/BBE122EE  created: 2010-01-01  expires: never       usage: SCEA
>                      trust: ultimate      validity: ultimate
> sub  2048R/1FE7233B  created: 2015-12-12  expires: never       usage: E
> [ultimate] (1). Stanley Wai Lun CHEN <[email protected]>
>
> gpg> list
>
> pub  2048R/BBE122EE  created: 2010-01-01  expires: never       usage: SCEA
>                      trust: ultimate      validity: ultimate
> sub  2048R/1FE7233B  created: 2015-12-12  expires: never       usage: E
> [ultimate] (1). Stanley Wai Lun CHEN <[email protected]>
>
> gpg>
>
> Olav
> > _______________________________________________ > enigmail-users
mailing list > [email protected] > To unsubscribe or make
changes to your subscription click here: >
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
enigmail-users mailing list
[email protected]
To unsubscribe or make changes to your subscription click here:
https://admin.hostpoint.ch/mailman/listinfo/enigmail-users_enigmail.net

Reply via email to