Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

security command-line tool

 
   Mac (Home) -> Mac System RSS
Next:  how to change ipod screen background color?  
Author Message
austinfromboston

External


Since: Dec 13, 2007
Posts: 1



(Msg. 1) Posted: Thu Dec 13, 2007 11:30 am
Post subject: security command-line tool
Archived from groups: comp>sys>mac>system (more info?)

I'm working on a widget that uses password data to access a server via
ssh. I want to save the passwords in the Keychain, and there's a
great tool called "security" that allows me to do this from the
command line. While I can add and retrieve a password, I can't find
any command to update or delete a password, and add-generic-password
returns an error if I ask it to add a different password with the same
identifiers.

The error is this:
security: SecKeychainAddGenericPassword <NULL>: The specified item
already exists in the keychain.
is there maybe an override?

Scanning the internet indicates that the full KeychainServices version
of this api supports the commands SecKeychainItemDelete and
SecKeychainItemModifyContent, which are what i'm looking for. Does
the command line version have support for these methods?

Many thanks,

Austin
Back to top
Login to vote
Display posts from previous:   
Related Topics:
command-line newsreader recommendation? - Can a killfile be created using the newsreader in lynx? If not, what is the easiest-to-use shell-based newsreader? Thanks.

Command line mount smb shares not showing in Finder - I'm missing something, and I hope someone can point me in the right direction.... I can mount shares using: mount -smbfs //server/share /Volumes/mountpoint but, although the share is accessible via the terminal, I can't access it from the Finder (It..

command line file syncing from Mac to PC over network - Hiya- I'm looking for a way to do updates, and occasional total syncs between a local folders here on my Mac and folders on a remote server, which I access over VPN through a mounted smb share. I don't want to mirror all the files locally (there are hug...

How to Install command line man pages for Mac OS 10.4.6? - Hello, I think someone reading this list would know which package off the Mac OS X 10.4 DVD installs the man reference pages. I upgraded my iMac (CRT 500 MHz G3 PowerPC, slot loading CD, 384 MB RAM, Blue Plastic ;-) to run Mac OS 10.4.6. I work in X1...

Mac Security: Summary of Apple Security Update 2006-007 - 2006-11-28 Apple released a substantial new security update. Reading through the security patches is daunting. The size of the update I installed Tuesday was over 45 MB. That's big. But on the other hand I'm glad Apple are getting serious about keepin...
       Mac (Home) -> Mac System All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact