Google Site Search

Google
 

Wednesday, December 9, 2009

Subversion caches clear text passwords

If you are a subversion/svn user, then you may not be aware of this. By default, subversion caches your password to the repositories under the $HOME/.subversion/auth/svn.simple directory in one or more files with names that match some arbitrary strings.

You need to do the following:
1) Delete all the files under $HOME/.subversion/auth/svn.simple
2) In the $HOME/.subversion/config file

uncomment the
store-passwords = no

The documentation says:
### Set store-passwords to 'no' to avoid storing passwords in the
### auth/ area of your config directory. It defaults to 'yes'.
### Note that this option only prevents saving of *new* passwords;
### it doesn't invalidate existing passwords. (To do that, remove
### the cache files by hand as described in the Subversion book.)


Have a safe source control system.


Disadvantage of not caching
:
You will have to enter the password more frequently.

Related Issues:
There are similar issues with Maven. You need to provide clear text passwords to your repositories in the settings.xml file



Additional Notes from Colleagues:

----------------------------------------------------------------------------
If you are using Fedora and have the subversion-gnome package installed,
subversion will store passwords in the GNOME keyring. The equivalent
package for storing passwords in the KDE wallet is subversion-kde.

Only if you do not have these packages will subversion store clear text
passwords, but it will warn you about it and recommend installing the
keyring support. Fedora users might want to double check whether they
have the aforementioned package installed. I'm sure distros other than
Fedora provide this feature as well.

-Alejandro
---------------------------------------------------------------------------
It does not seem to be the case with Mac OS, it seems to be linked to the keychain somehow.
That being said, if someone has root access to my machine, it shouldn't be too much of a problem to open keychain.

- Emmanuel
---------------------------------------------------------------------------

Tuesday, December 8, 2009

TIP::JBossXACML Logging

If you are interested in seeing the trace messages of the PDP engine in JBossXACML, you will need to add the following line to the logging.properties file in use for your setup.

# Set the default logging level for the logger named org.jboss
org.jboss.security.xacml.sunxacml.level = FINEST



If you are running it in Apache Tomcat, then the file is in conf directory.
In JBoss Application Server, you should just add a trace category in the conf/jboss-log4j.xml


The trace messages will be found in the logs of your server.

Wednesday, November 25, 2009

IIW 2009: Identity And Cloud Computing Session

I had the privilege of attending the Internet Identity Workshop (2009) at the Computer History Museum in Mountain View, CA at the beginning of November.

I conducted a session called "Identity and Cloud Computing" at IIW.

The session notes are here:

=========================
Session: Identity And Cloud Computing

* General Concerns around identity Management get compounded in the Cloud.
* There is potential proliferation of Identities.
* Data and artifacts of a company can be tied to identities which is a threat during decommission of identity. It can be lost.
* SLA of Identity As A Service.
* Transfer of Passwords or Password Hashes from Local Data Centers to Cloud environments for migrated applications.
* Users resistance to change with new cloud usage.
* Identity Assurance.
==================