Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge-webrsync: this key has expired ID C9189250
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 380
Location: Inner Space

PostPosted: Sun Nov 29, 2015 9:57 am    Post subject: [solved] emerge-webrsync: this key has expired ID C9189250 Reply with quote

i am getting this message when trying to rsync the portage. i also removed that key from gpg and added some new one but it is still the same.
could you please help me with this?
_________________
((O.o))


Last edited by e3k on Wed Dec 02, 2015 8:52 am; edited 1 time in total
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 380
Location: Inner Space

PostPosted: Mon Nov 30, 2015 8:01 pm    Post subject: Re: emerge-webrsync: this key has expired ID C9189250 Reply with quote

e3k wrote:
i am getting this message when trying to rsync the portage. i also removed that key from gpg and added some new one but it is still the same.
could you please help me with this?

Code:

# emerge-webrsync
!!! Repository 'gentoo' has sync-type attribute, but is missing sync-uri attribute
Fetching most recent snapshot ...
Trying to retrieve 20151129 snapshot from ftp://gd.tuwien.ac.at/opsys/linux/gentoo ...
Fetching file portage-20151129.tar.xz.md5sum ...
Fetching file portage-20151129.tar.xz.gpgsig ...
Fetching file portage-20151129.tar.xz ... Checking digest ...
Checking signature ...
gpg: Signature made Mon 30 Nov 2015 01:57:04 AM CET using RSA key ID C9189250
gpg: Good signature from "Gentoo Portage Snapshot Signing Key (Automated Signing Key)" [expired]
gpg: Note: This key has expired!
Primary key fingerprint: DCD0 5B71 EAB9 4199 527F 44AC DB6B 8C1F 96D8 BF6D
Subkey fingerprint: E1D6 ABB6 3BFC FB4B A02F DF1C EC59 0EEA C918 9250
Getting snapshot timestamp ...
Syncing local tree ...
Number of files: 205,113 (reg: 177,975, dir: 27,138) Number of created files: 274 (reg: 251, dir: 23)
Number of deleted files: 86 (reg: 84, dir: 2)
Number of regular files transferred: 10,902
Total file size: 391.36M bytes
Total transferred file size: 28.18M bytes Literal data: 28.18M bytes Matched data: 0 bytes
File list size: 393.17K
File list generation time: 0.001 seconds File list transfer time: 0.000 seconds
Total bytes sent: 14.52M
Total bytes received: 240.08K
sent 14.52M bytes received 240.08K bytes 310.84K bytes/sec
total size is 391.36M speedup is 26.51 Cleaning up ...
...

_________________
((O.o))
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5883

PostPosted: Mon Nov 30, 2015 11:30 pm    Post subject: Reply with quote

Code:
emerge -u app-crypt/gentoo-keys
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 380
Location: Inner Space

PostPosted: Tue Dec 01, 2015 6:29 pm    Post subject: Reply with quote

Ant P. wrote:
Code:
emerge -u app-crypt/gentoo-keys

thanks for the hint Ant P. but i did not use gentoo-keys before. after installing that nothing changed and i also was not able to to google a manual for that.

further i have found that gpg thinks about all my keys that they are still valid so why does webrsync think something else?
Code:

# GNUPGPHOME=/etc/portage/gnupgp gpg --edit-key 0xDB6B8C1F96D8BF6D
gpg (GnuPG) 2.0.28; 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.
pub  4096R/96D8BF6D  created: 2011-11-25  expires: 2016-07-01  usage: C      trust: ultimate      validity: ultimate         
     sub  4096R/C9189250  created: 2011-11-25  expires: 2016-07-01  usage: S           [ultimate] (1). Gentoo Portage Snapshot Signing Key (Automated Signing Key)
gpg>

_________________
((O.o))
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Tue Dec 01, 2015 6:48 pm    Post subject: Reply with quote

Because emerge uses a different key file.

Code:
# check portage tree by rsync
FEATURES="webrsync-gpg"
PORTAGE_GPG_DIR="/etc/portage/gpg"


Code:
gpg --homedir=/etc/portage/gpg --list-keys

_________________
// valid again: I forgot about the git access. Now 1.2GB big. Start: 2015-06-25
git daily portage tree
Web: https://portage.schorsch-tech.de
git clone https://portage.schorsch-tech.de/portage.git
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 380
Location: Inner Space

PostPosted: Tue Dec 01, 2015 7:05 pm    Post subject: Reply with quote

schorsch_76 wrote:
Because emerge uses a different key file.

Code:
# check portage tree by rsync
FEATURES="webrsync-gpg"
PORTAGE_GPG_DIR="/etc/portage/gpg"


Code:
gpg --homedir=/etc/portage/gpg --list-keys

when using the /etc/portage/gpg folder it still says those keys expire in 2016
_________________
((O.o))
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Wed Dec 02, 2015 6:56 am    Post subject: Reply with quote

Have you tried to specify the --homedir option like in my example? Maybe the environment variable is not respected?
_________________
// valid again: I forgot about the git access. Now 1.2GB big. Start: 2015-06-25
git daily portage tree
Web: https://portage.schorsch-tech.de
git clone https://portage.schorsch-tech.de/portage.git
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 380
Location: Inner Space

PostPosted: Wed Dec 02, 2015 8:52 am    Post subject: Reply with quote

schorsch_76 wrote:
Have you tried to specify the --homedir option like in my example? Maybe the environment variable is not respected?

exactly thank you very much schorsch! the GNUPGPHOME variable is not respected because it should be GNUPGHOME instead. problem solved :)
_________________
((O.o))
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2803
Location: Richmond, BC, Canada

PostPosted: Mon Dec 21, 2015 8:09 pm    Post subject: Reply with quote

Just for the record. You should update keyrings periodically.

To update the emerge-webrsync keyring:
Code:
gpg --gpg --homedir=/etc/portage/gpg --refresh-keys


That will update the keyring with any changes made to the keys it contains, including the resetting of expiry dates or keys that have been revoked.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
e3k
Guru
Guru


Joined: 01 Oct 2007
Posts: 380
Location: Inner Space

PostPosted: Mon Dec 21, 2015 9:46 pm    Post subject: Reply with quote

dol-sen wrote:
Just for the record. You should update keyrings periodically.

To update the emerge-webrsync keyring:
Code:
gpg --gpg --homedir=/etc/portage/gpg --refresh-keys


That will update the keyring with any changes made to the keys it contains, including the resetting of expiry dates or keys that have been revoked.

it says --gpg is ambigous and also i had to add --keyserver subkeys.pgp.net
_________________
((O.o))
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum