Re: Subkey Usage, Expire Date and Preferences problem

2018-02-25 Thread Yan Fiz
Oh, sorry. I made a mistake in 'Key-Type:' line. Right one :

Key-Type: eddsa

On Sun, Feb 25, 2018 at 2:16 AM, Yan Fiz  wrote:

> Hello,
>
> When I create unattended key with cv25519 or ed25519 as subkeys, GnuPG
> doesn't apply 'encrypt' usage, expire date and preferences. There is no
> problem with RSA.
>
> Regards.
>
> (PS : My example key numbers were padded with X and Y)
>
> $ gpg --batch --gen-key
> Key-Type: ecdsa
> Key-Curve: ed25519
> Key-Usage: sign auth
> Subkey-Type: ecdh
> Subkey-Curve: cv25519
> Subkey-Usage: encrypt
> Passphrase:
> Name-Real: Yan Fiz
> Expire-Date: 1y
> Preferences: twofish sha512 zlib
>
> $ gpg --edit-key  showpref quit
> gpg (GnuPG) 2.2.5; Copyright (C) 2018 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.
>
> gpg: key : 2 bad signatures
> gpg: key : Warning: errors found and only checked
> self-signatures, run 'check' to check all signatures.
> Secret key is available.
>
> sec  ed25519/
>  created: 2018-02-24  expires: never   usage: SCA
>  trust: ultimate  validity: ultimate
> ssb  cv25519/
>  created: 2018-02-24  expires: never   usage:
> [ultimate] (1). Yan Fiz
>
> [ultimate] (1). Yan Fiz
>  Cipher: 3DES
>  Digest: SHA1
>  Compression: ZIP, Uncompressed
>  Features: Keyserver no-modify
>
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Subkey Usage, Expire Date and Preferences problem

2018-02-24 Thread Yan Fiz
Hello,

When I create unattended key with cv25519 or ed25519 as subkeys, GnuPG
doesn't apply 'encrypt' usage, expire date and preferences. There is no
problem with RSA.

Regards.

(PS : My example key numbers were padded with X and Y)

$ gpg --batch --gen-key
Key-Type: ecdsa
Key-Curve: ed25519
Key-Usage: sign auth
Subkey-Type: ecdh
Subkey-Curve: cv25519
Subkey-Usage: encrypt
Passphrase:
Name-Real: Yan Fiz
Expire-Date: 1y
Preferences: twofish sha512 zlib

$ gpg --edit-key  showpref quit
gpg (GnuPG) 2.2.5; Copyright (C) 2018 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.

gpg: key : 2 bad signatures
gpg: key : Warning: errors found and only checked
self-signatures, run 'check' to check all signatures.
Secret key is available.

sec  ed25519/
 created: 2018-02-24  expires: never   usage: SCA
 trust: ultimate  validity: ultimate
ssb  cv25519/
 created: 2018-02-24  expires: never   usage:
[ultimate] (1). Yan Fiz

[ultimate] (1). Yan Fiz
 Cipher: 3DES
 Digest: SHA1
 Compression: ZIP, Uncompressed
 Features: Keyserver no-modify
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Subkey Usage, Expire Date and Preferences problem

2018-02-24 Thread Yan Fiz
Hello,

When I create unattended key with cv25519 or ed25519 as subkeys, GnuPG
doesn't apply 'encrypt' usage, expire date and preferences. There is no
problem with RSA.

Regards.

(PS : My example key numbers were padded with X and Y)

$ gpg --batch --gen-key
Key-Type: ecdsa
Key-Curve: ed25519
Key-Usage: sign auth
Subkey-Type: ecdh
Subkey-Curve: cv25519
Subkey-Usage: encrypt
Passphrase:
Name-Real: Yan Fiz
Expire-Date: 1y
Preferences: twofish sha512 zlib

$ gpg --edit-key  showpref quit
gpg (GnuPG) 2.2.5; Copyright (C) 2018 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.

gpg: key : 2 bad signatures
gpg: key : Warning: errors found and only checked
self-signatures, run 'check' to check all signatures.
Secret key is available.

sec  ed25519/
 created: 2018-02-24  expires: never   usage: SCA
 trust: ultimate  validity: ultimate
ssb  cv25519/
 created: 2018-02-24  expires: never   usage:
[ultimate] (1). Yan Fiz

[ultimate] (1). Yan Fiz
 Cipher: 3DES
 Digest: SHA1
 Compression: ZIP, Uncompressed
 Features: Keyserver no-modify
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users