The majority of key management schemes suffer from the physical compromising of nodes. This vulnerability allows an adversary to reproduce clones and inject them throughout the network to perform other types of attacks. Furthermore, adding new nodes to the network (for maintenance), which is an inevitable step to prolong its life or to repair voids, is the best opportunity to carry out the cloning attack. Our contribution in this paper is to perfectly secure network maintenance against the cloning attack, using a solution based on the digital signature of the base station. Our solution is based on the agreement that the base station should give to a new node to share a pairwise key with its neighbors. The conducted simulations under TinyOS SIMulator (TOSSIM) show that, in addition to perfect resilience, our approach is efficient in terms of time consumption and communication overhead.