hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NT service results in Private key not found

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Encryption/Decryption
View previous topic :: View next topic  
Author Message
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Mon Dec 18, 2006 10:46 am    Post subject: NT service results in Private key not found Reply with quote

user support request:

I've search your knowledgebase and forums for this AuoKrypt output logs error:

gpg: skipped "remove <remove.com>": secret key not available
gpg: C:\......txt: sign+encrypt failed: secret key not available

This problem only started recently after upgrading to 7.x. If we delete all keys in the Key Store and start from scratch, here is what we do:

1) Click Import to import the keys.
2) Two keys appear, a public and a private, both entitled "remove<remove.com>".
3) Although this doesn't seem to make a difference, I set the trust level for the public key to ultimate.
4) Run the task and the output logs show the message above.

What are we doing wrong?
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Mon Dec 18, 2006 10:46 am    Post subject: Reply with quote

1) Are you using NT service?
2) Is the engine already running as user1, then you logged on as user2 and imported the keys?
3) What is the keystore folder? is it the logged on users home directory?
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Mon Dec 18, 2006 10:46 am    Post subject: Reply with quote

user reply:

1) Yes, running as service
2) Running as Local System Account (no desktop interaction). Logged on and imported as Administrator.
3) c:/Documents and Settings/Administrator/Application Data/gnupg/

We changed the runnable user to the Administrator account and it worked. I understand the problem now and will work around that understanding. Ideally we like to create accounts for services so the admin account isn't exposed and the services don't fail when we change the admin password occasionally.


Last edited by melvin on Mon Dec 18, 2006 10:50 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
melvin
Site Admin


Joined: 25 May 2006
Posts: 635
Location: Santa Barbara, california

PostPosted: Mon Dec 18, 2006 10:50 am    Post subject: Reply with quote

The whole issue is likely to be due to premissions for the local service since the key is in the 'Administrator' home directory.
Look at the following article in the Encryption forum:
How to change the default GnuPG home directory (keystore)
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Encryption/Decryption All times are GMT - 8 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group