You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(119) |
Oct
(111) |
Nov
(238) |
Dec
(395) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(239) |
Feb
(59) |
Mar
(354) |
Apr
(489) |
May
(23) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(5) |
Jun
(2) |
Jul
|
Aug
|
Sep
(3) |
Oct
(14) |
Nov
(17) |
Dec
(9) |
| 2007 |
Jan
(4) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
(7) |
May
(3) |
Jun
(6) |
Jul
(4) |
Aug
(3) |
Sep
(15) |
Oct
(13) |
Nov
(35) |
Dec
(40) |
| 2009 |
Jan
(19) |
Feb
(21) |
Mar
(16) |
Apr
(18) |
May
(36) |
Jun
(20) |
Jul
(32) |
Aug
(11) |
Sep
(3) |
Oct
(2) |
Nov
(2) |
Dec
(13) |
| 2010 |
Jan
(5) |
Feb
(5) |
Mar
(7) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
|
Dec
(3) |
| 2012 |
Jan
(3) |
Feb
(3) |
Mar
(1) |
Apr
(4) |
May
(8) |
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
(8) |
Oct
(3) |
Nov
(8) |
Dec
(4) |
| 2013 |
Jan
(2) |
Feb
(1) |
Mar
(5) |
Apr
(6) |
May
(10) |
Jun
(5) |
Jul
(6) |
Aug
(7) |
Sep
(5) |
Oct
(2) |
Nov
(4) |
Dec
(4) |
| 2014 |
Jan
(13) |
Feb
(4) |
Mar
(7) |
Apr
(9) |
May
(20) |
Jun
(13) |
Jul
(10) |
Aug
(3) |
Sep
(5) |
Oct
(2) |
Nov
(2) |
Dec
(2) |
| 2015 |
Jan
(3) |
Feb
(3) |
Mar
(5) |
Apr
(4) |
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2016 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(3) |
Nov
(4) |
Dec
(2) |
| 2017 |
Jan
|
Feb
(2) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <pe...@us...> - 2003-11-18 22:00:03
|
Update of /cvsroot/neuclear/neuclear-pay/src/webapp/WEB-INF In directory sc8-pr-cvs1:/tmp/cvs-serv16053/src/webapp/WEB-INF Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/webapp/WEB-INF added to the repository |
|
From: <pe...@us...> - 2003-11-18 21:59:01
|
Update of /cvsroot/neuclear/neuclear-pay/src/webapp In directory sc8-pr-cvs1:/tmp/cvs-serv15900/src/webapp Log Message: Directory /cvsroot/neuclear/neuclear-pay/src/webapp added to the repository |
|
From: <bug...@ve...> - 2003-11-18 21:53:36
|
Message:
The following issue has been closed.
Resolver: Pelle Braendgaard
Date: Tue, 18 Nov 2003 4:55 PM
SigningServlet now implements PassPhraseAgent and works.
---------------------------------------------------------------------
View the issue:
http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=COM-1
Here is an overview of the issue:
---------------------------------------------------------------------
Key: COM-1
Summary: Created PassPhraseAgent which works with Servlets
Type: New Feature
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NeuClear Commons
Fix Fors:
r_0_5
Assignee: Pelle Braendgaard
Reporter: Pelle Braendgaard
Created: Tue, 18 Nov 2003 3:47 PM
Updated: Tue, 18 Nov 2003 4:55 PM
Description:
We need a PassPhraseAgent to pass passphrases into the Signer used in a servlet.
This is for use by the SigningServlet.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://devone.veraxpay.com:9090/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|
|
From: <bug...@ve...> - 2003-11-18 21:23:42
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-16 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-16 Summary: Create Key Generating Java Applet for use by Identity Creating Wizard Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 1.0 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 4:25 PM Updated: Tue, 18 Nov 2003 4:25 PM Description: This applet should: - Create new RSA KeyPair - Ask user for passphrase - Encrypted using given passphrase --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 21:21:25
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-15 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-15 Summary: Create Signing Java Applet for Web based signer Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 1.0 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 4:23 PM Updated: Tue, 18 Nov 2003 4:23 PM Description: We need an applet where we send pass an encrypted PrivateKey and data for signing. The Applet asks user for passphrase Decrypts private key Signs data and returns it to SigningServlet --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 21:18:28
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-14 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-14 Summary: New Identity Generating Wizard (Web Based) Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 0.8 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 4:19 PM Updated: Tue, 18 Nov 2003 4:19 PM Description: A web based wizard for generating Key and Identity. This gets signed by the SigningServers master key and stored in the repository. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 21:08:25
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-13 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-13 Summary: Implement some sort of versioning on Store Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 1.0 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 4:09 PM Updated: Tue, 18 Nov 2003 4:09 PM Description: We need to have some sort of way of managing changes to Certificates. This should be done using some sort of Versioning system. More thought is needed. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 21:05:25
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-12 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-12 Summary: EncryptedFileStore throws NoSuchAlgorithmException Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 4:06 PM Updated: Tue, 18 Nov 2003 4:06 PM Description: It claims that AES doesnt exist. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 21:02:25
|
The following issue has been updated:
Updater: Pelle Braendgaard (mailto:pe...@ve...)
Date: Tue, 18 Nov 2003 4:03 PM
Changes:
environment changed to
priority changed from Major
---------------------------------------------------------------------
For a full history of the issue, see:
http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-6&page=history
---------------------------------------------------------------------
View the issue:
http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-6
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NEU-6
Summary: Fully create JCE implementation of Certificate Infrastructure
Type: New Feature
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NeuClear Identity
Fix Fors:
1.0
Assignee: Pelle Braendgaard
Reporter: Pelle Braendgaard
Created: Wed, 1 Oct 2003 12:58 PM
Updated: Tue, 18 Nov 2003 4:03 PM
Description:
It might be usefull to create a version of neuclear-id in the future that is fully compatible with Sun JCE's Certificate and CertificatePath framework: http://java.sun.com/j2se/1.4.2/docs/guide/security/certpath/CertPathProgGuide.html
Why? Mainly because it would allow easier integration within existing pki code, the main interesting one for me being codesigning.
Why not? The API is bloated and I dont think very easy to work with. It isnt very appropriate either for Server or J2ME based apps due to its bloat.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://devone.veraxpay.com:9090/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|
|
From: <bug...@ve...> - 2003-11-18 20:58:25
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-11 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-11 Summary: Check for freshness in file Cache on CachedSource Type: Improvement Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 0.8 Versions: 0.7 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 3:59 PM Updated: Tue, 18 Nov 2003 3:59 PM Description: Currently it doesnt check for freshness or errors. It should check for the file date and if it is more than X Time period old reload from Source. The same with errors on objects in the case. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 20:50:25
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-10 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-10 Summary: Need to load the Target elements when constructed from Element Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 0.8 Versions: 0.7 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 3:52 PM Updated: Tue, 18 Nov 2003 3:52 PM Description: Currently doesnt load Target list --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 20:47:59
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=COM-2 Here is an overview of the issue: --------------------------------------------------------------------- Key: COM-2 Summary: Need to Mask input on CommandLineAgent Type: Improvement Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Commons Fix Fors: r_0_5 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 3:49 PM Updated: Tue, 18 Nov 2003 3:49 PM Description: Current implementation mirrors the typed passphrase. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 20:47:25
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=COM-1 Here is an overview of the issue: --------------------------------------------------------------------- Key: COM-1 Summary: Created PassPhraseAgent which works with Servlets Type: New Feature Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Commons Fix Fors: r_0_5 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Tue, 18 Nov 2003 3:47 PM Updated: Tue, 18 Nov 2003 3:47 PM Description: We need a PassPhraseAgent to pass passphrases into the Signer used in a servlet. This is for use by the SigningServlet. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-18 20:42:11
|
Message:
The following issue has been closed.
Resolver: Pelle Braendgaard
Date: Tue, 18 Nov 2003 3:42 PM
Implemented
---------------------------------------------------------------------
View the issue:
http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-1
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NEU-1
Summary: Signer Service
Type: New Feature
Status: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: 1 week
Time Spent: Unknown
Remaining: 1 week
Project: NeuClear Identity
Fix Fors:
0.8
Versions:
0.7
Assignee: Pelle Braendgaard
Reporter: Pelle Braendgaard
Created: Sat, 23 Aug 2003 4:46 PM
Updated: Tue, 18 Nov 2003 3:42 PM
Description:
The Personal Signer service needs to be refactored to produce a Signing service that can be used by users to sign their contracts.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://devone.veraxpay.com:9090/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|
|
From: <pe...@us...> - 2003-11-18 19:24:01
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store
In directory sc8-pr-cvs1:/tmp/cvs-serv11821
Modified Files:
EncryptedFileStore.java FileStore.java
Log Message:
Missed this in latest checkin
Index: EncryptedFileStore.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store/EncryptedFileStore.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** EncryptedFileStore.java 11 Nov 2003 21:18:44 -0000 1.10
--- EncryptedFileStore.java 18 Nov 2003 19:23:58 -0000 1.11
***************
*** 2,5 ****
--- 2,8 ----
* $Id$
* $Log$
+ * Revision 1.11 2003/11/18 19:23:58 pelle
+ * Missed this in latest checkin
+ *
* Revision 1.10 2003/11/11 21:18:44 pelle
* Further vital reshuffling.
***************
*** 158,166 ****
package org.neuclear.store;
/**
! * We need both a simple FileStore and an encrypted one. The encrypted one stores each object using a filename generated through
! * a Hashing system of some sort. The files themselves are encrypted using perhaps their name and a store specific code. The filetimes would also be set to a
! * uniform time, so if the operator was sopeanad(Spelling) i
*/
public class EncryptedFileStore extends FileStore {
--- 161,179 ----
package org.neuclear.store;
+ import org.neuclear.id.builders.NamedObjectBuilder;
+ import org.neuclear.id.NSTools;
+ import org.neuclear.id.SignedNamedObject;
+ import org.neuclear.commons.crypto.CryptoTools;
+ import org.neuclear.commons.NeuClearException;
+
+ import javax.crypto.CipherOutputStream;
+ import javax.crypto.Cipher;
+ import javax.crypto.NoSuchPaddingException;
+ import java.io.*;
+ import java.security.NoSuchAlgorithmException;
+
/**
! * This EncryptedFileStore stores the objects en encrypted format in a file name based on its path
*/
public class EncryptedFileStore extends FileStore {
***************
*** 169,223 ****
super(base);
}
- /*
! protected void rawStore(SignedNamedObject obj) throws IOException, NeuClearException {
String outputFilename = base + getFileName(obj);
System.out.println("Outputting to: " + outputFilename);
File outputFile = new File(outputFilename);
outputFile.getParentFile().mkdirs();
- // Quick and dirty encryption for now.
- // String xmlData=obj.getElement().asXML();
- //TODO Find alternative byte encrypted[] = CryptoTools.encrypt(obj.getName(), XMLSecTools.getElementBytes(obj.getElement()));
! BufferedOutputStream os = new BufferedOutputStream(new FileOutputStream(outputFile));
! //TODO Find alternative os.write(encrypted);
! os.close();
! }
! protected SignedNamedObject fetch(String name) throws NeuClearException {
! String deURLizedName = NSTools.normalizeNameURI(name);
! String inputFilename = base + getFileName(deURLizedName);
System.out.println("Loading from: " + inputFilename);
File fin = new File(inputFilename);
if (!fin.exists())
! return null;
!
! SignedNamedObject ns = null;
! try {
! byte input[] = new byte[(int) fin.length()];
! FileInputStream fis = new FileInputStream(fin);
! fis.read(input, 0, input.length);
! byte clear[] = CryptoTools.decrypt(deURLizedName.getBytes(), input);
! int last = clear.length;
! for (last = clear.length; clear[last - 1] != (byte) '>'; last--) ;
! String clearString = new String(clear, 0, last);
! // System.out.print("Read: ");
! // System.out.println(clearString);
! org.dom4j.Document doc = DocumentHelper.parseText(clearString);
! //TODO Find alternative ns = NamedObjectFactory.createNamedObject(doc);
! // Utility.rethrowException(e);
! } catch (IOException e) {
! Utility.rethrowException(e);
! } catch (DocumentException e) {
! Utility.rethrowException(e);
! // } catch (FileNotFoundException e) {
! // Utility.rethrowException(e);
! }
!
! return ns;
}
! protected static String getFileName(String name) throws NeuClearException {
String deURLizedName = NSTools.normalizeNameURI(name);
byte hash[] = CryptoTools.formatAsURLSafe(CryptoTools.digest512(deURLizedName.getBytes())).getBytes();
--- 182,216 ----
super(base);
}
! protected OutputStream getOutputStream(NamedObjectBuilder obj) throws NeuClearException, FileNotFoundException {
String outputFilename = base + getFileName(obj);
System.out.println("Outputting to: " + outputFilename);
File outputFile = new File(outputFilename);
outputFile.getParentFile().mkdirs();
+ try {
+ Cipher cipher = Cipher.getInstance("AES");
+ //TODO Initialise cipher with key
+ return new CipherOutputStream(new FileOutputStream(outputFile),cipher);
! } catch (NoSuchAlgorithmException e) {
! throw new NeuClearException(e);
! } catch (NoSuchPaddingException e) {
! throw new NeuClearException(e);
! }
! }
! protected FileInputStream getInputStream(String name) throws FileNotFoundException, NeuClearException {
! String inputFilename = base + getFileName(name);
System.out.println("Loading from: " + inputFilename);
File fin = new File(inputFilename);
if (!fin.exists())
! throw new NeuClearException("NeuClear: "+name+" doesnt exist");
! //TODO add CipherInputStream
! return new FileInputStream(fin);
}
!
! protected String getFileName(String name) throws NeuClearException {
String deURLizedName = NSTools.normalizeNameURI(name);
byte hash[] = CryptoTools.formatAsURLSafe(CryptoTools.digest512(deURLizedName.getBytes())).getBytes();
***************
*** 238,247 ****
return new String(newName);
}
-
- protected static String getFileName(SignedNamedObject obj) throws NeuClearException {
- return getFileName(obj.getName());
- }
-
- */
}
--- 231,234 ----
Index: FileStore.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/store/FileStore.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** FileStore.java 18 Nov 2003 15:45:09 -0000 1.11
--- FileStore.java 18 Nov 2003 19:23:58 -0000 1.12
***************
*** 2,5 ****
--- 2,8 ----
* $Id$
* $Log$
+ * Revision 1.12 2003/11/18 19:23:58 pelle
+ * Missed this in latest checkin
+ *
* Revision 1.11 2003/11/18 15:45:09 pelle
* FileStoreTest now passes. FileStore works again.
***************
*** 172,175 ****
--- 175,184 ----
protected void rawStore(NamedObjectBuilder obj) throws IOException, NeuClearException, XMLException {
+ OutputStream out = getOutputStream(obj);
+ out.write(obj.canonicalize());
+ out.close();
+ }
+
+ protected OutputStream getOutputStream(NamedObjectBuilder obj) throws NeuClearException, FileNotFoundException {
String outputFilename = base + getFileName(obj);
System.out.println("Outputting to: " + outputFilename);
***************
*** 177,182 ****
outputFile.getParentFile().mkdirs();
OutputStream out=new FileOutputStream(outputFile);
! out.write(obj.canonicalize());
! out.close();
}
--- 186,190 ----
outputFile.getParentFile().mkdirs();
OutputStream out=new FileOutputStream(outputFile);
! return out;
}
***************
*** 186,197 ****
SignedNamedObject fetch(String name) throws NeuClearException {
- String inputFilename = base + getFileName(name);
- System.out.println("Loading from: " + inputFilename);
- File fin = new File(inputFilename);
- if (!fin.exists())
- return null;
try {
! return VerifyingReader.getInstance().read(new FileInputStream(fin));
} catch (FileNotFoundException e) {
e.printStackTrace();
--- 194,200 ----
SignedNamedObject fetch(String name) throws NeuClearException {
try {
! return VerifyingReader.getInstance().read(getInputStream(name));
} catch (FileNotFoundException e) {
e.printStackTrace();
***************
*** 202,211 ****
}
! protected static String getFileName(String name) throws NeuClearException {
return NSTools.url2path(name)+"/root.id";
}
! protected static String getFileName(NamedObjectBuilder obj) throws NeuClearException {
return getFileName(obj.getName());
// if (! (obj instanceof Identity))
--- 205,224 ----
}
+ protected FileInputStream getInputStream(String name) throws FileNotFoundException, NeuClearException {
+ String inputFilename = base + getFileName(name);
+ System.out.println("Loading from: " + inputFilename);
+ File fin = new File(inputFilename);
+ if (!fin.exists())
+ throw new NeuClearException("NeuClear: "+name+" doesnt exist");
+
+ return new FileInputStream(fin);
+ }
+
! protected String getFileName(String name) throws NeuClearException {
return NSTools.url2path(name)+"/root.id";
}
! protected String getFileName(NamedObjectBuilder obj) throws NeuClearException {
return getFileName(obj.getName());
// if (! (obj instanceof Identity))
|
|
From: <bug...@ve...> - 2003-11-13 21:20:28
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-9 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-9 Summary: Document Sender Pattern Type: Task Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 0.8 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Thu, 13 Nov 2003 4:21 PM Updated: Thu, 13 Nov 2003 4:21 PM Description: Document the Functionality of the Sender pattern and discuss how to create new Senders. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-13 21:19:47
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-8 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-8 Summary: Document Source Pattern Type: Task Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 0.8 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Thu, 13 Nov 2003 4:19 PM Updated: Thu, 13 Nov 2003 4:19 PM Description: Explain function and how to write new Source's --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-13 21:17:45
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-7 Here is an overview of the issue: --------------------------------------------------------------------- Key: NEU-7 Summary: Document Receiver Pattern Type: Task Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Identity Fix Fors: 0.8 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Thu, 13 Nov 2003 4:18 PM Updated: Thu, 13 Nov 2003 4:18 PM Description: Document the uses of Receivers for writing NeuClear based web services. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-13 21:15:49
|
The following issue has been updated:
Updater: Pelle Braendgaard (mailto:pe...@ve...)
Date: Thu, 13 Nov 2003 4:16 PM
Comment:
This is not in anyway requirements
Changes:
description changed from Adding an XML Pull based verifier would drastically improve performance for transaction verifiers.
It should probably be made the standard method for verifying transactions which ofcourse means a new xmlsec implementation for XMLPull.
environment changed to
Fix Version changed to 1.0
Fix Version changed from 0.8
---------------------------------------------------------------------
For a full history of the issue, see:
http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-3&page=history
---------------------------------------------------------------------
View the issue:
http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-3
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NEU-3
Summary: Implement XML Pull based verifier.
Type: New Feature
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NeuClear Identity
Fix Fors:
1.0
Versions:
0.7
Assignee: Pelle Braendgaard
Reporter: Pelle Braendgaard
Created: Mon, 22 Sep 2003 12:03 PM
Updated: Thu, 13 Nov 2003 4:16 PM
Description:
Adding an XML Pull based verifier would drastically improve performance for transaction verifiers.
It should probably be made the standard method for verifying transactions which ofcourse means a new xmlsec implementation for XMLPull.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://devone.veraxpay.com:9090/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|
|
From: <bug...@ve...> - 2003-11-13 21:02:20
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=GL-15 Here is an overview of the issue: --------------------------------------------------------------------- Key: GL-15 Summary: Create Hibernate implementation Type: New Feature Status: Closed Priority: Minor Resolution: WON'T FIX Original Estimate: 3 days Time Spent: Unknown Remaining: 3 days Project: NeuClear Ledger Components: SQL Ledger Versions: r_0_3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Sat, 23 Aug 2003 4:38 PM Updated: Thu, 13 Nov 2003 4:03 PM Description: This is a possibility --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <bug...@ve...> - 2003-11-13 21:01:46
|
Message:
The following issue has been closed.
Resolver: Pelle Braendgaard
Date: Thu, 13 Nov 2003 4:02 PM
Renamed to NeuClearException and moved to NeuClear Commons.
---------------------------------------------------------------------
View the issue:
http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=NEU-5
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NEU-5
Summary: Reworking of NeudistException
Type: Improvement
Status: Closed
Priority: Major
Resolution: FIXED
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NeuClear Identity
Fix Fors:
0.7
Versions:
0.7
Assignee: Pelle Braendgaard
Reporter: Pelle Braendgaard
Created: Fri, 26 Sep 2003 6:44 PM
Updated: Thu, 13 Nov 2003 4:02 PM
Description:
NeudistException is not granular enough to be of much use. I want to replace it with the advances made within the payment code. Introduce LowLevelExceptions etc.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://devone.veraxpay.com:9090/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|
|
From: <bug...@ve...> - 2003-11-13 20:53:08
|
Message: The following issue has been closed. --------------------------------------------------------------------- View the issue: http://devone.veraxpay.com:9090/secure/ViewIssue.jspa?key=PAY-5 Here is an overview of the issue: --------------------------------------------------------------------- Key: PAY-5 Summary: Create NeuClear Payment Transaction Receiver Type: New Feature Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: NeuClear Payments Fix Fors: 0.3 Versions: 0.3 Assignee: Pelle Braendgaard Reporter: Pelle Braendgaard Created: Sat, 23 Aug 2003 4:47 PM Updated: Thu, 13 Nov 2003 3:53 PM Description: Need to create an implementation of the NamedObject receiver for handling digitally signed payment transaction requests. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://devone.veraxpay.com:9090/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |
|
From: <pe...@us...> - 2003-10-31 23:58:56
|
Update of /cvsroot/neuclear/neuclear-id/src/java
In directory sc8-pr-cvs1:/tmp/cvs-serv502/src/java
Modified Files:
neuclear-id.xml
Log Message:
The IdentityCreator now fully works with the new Signer architecture.
Index: neuclear-id.xml
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/neuclear-id.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** neuclear-id.xml 29 Oct 2003 21:16:28 -0000 1.1
--- neuclear-id.xml 31 Oct 2003 23:58:53 -0000 1.2
***************
*** 2,7 ****
<component type="org.neudist.crypto.Signer"
class="org.neuclear.signers.DefaultSigner"/>
- <component type="org.neuclear.signers.PublicKeySource"
- class="org.neuclear.signers.DefaultSigner"/>
<component type="org.neuclear.passphraseagents.PassPhraseAgent"
class="org.neuclear.passphraseagents.GuiDialogAgent"/>
--- 2,5 ----
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/passphraseagents
In directory sc8-pr-cvs1:/tmp/cvs-serv502/src/java/org/neuclear/passphraseagents
Modified Files:
CommandLineAgent.java GuiDialogAgent.java PassPhraseAgent.java
Added Files:
AskAtStartupAgent.java InteractiveAgent.java
StoredPassphraseAgent.java
Log Message:
The IdentityCreator now fully works with the new Signer architecture.
--- NEW FILE: AskAtStartupAgent.java ---
package org.neuclear.passphraseagents;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: AskAtStartupAgent.java,v 1.1 2003/10/31 23:58:53 pelle Exp $
$Log: AskAtStartupAgent.java,v $
Revision 1.1 2003/10/31 23:58:53 pelle
The IdentityCreator now fully works with the new Signer architecture.
*/
/**
* User: pelleb
* Date: Oct 30, 2003
* Time: 5:09:36 PM
*/
public class AskAtStartupAgent implements PassPhraseAgent {
public AskAtStartupAgent(InteractiveAgent agent, String name) {
this.name = name;
this.passphrase = agent.getPassPhrase(name);
}
/**
* Retrieve the PassPhrase for a given name/alias
*
* @param name
* @return
*/
public char[] getPassPhrase(String name) {
if (name.equals(this.name))
return passphrase;
else
return new char[0];
}
private final String name;
private final char[] passphrase;
}
--- NEW FILE: InteractiveAgent.java ---
package org.neuclear.passphraseagents;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: InteractiveAgent.java,v 1.1 2003/10/31 23:58:53 pelle Exp $
$Log: InteractiveAgent.java,v $
Revision 1.1 2003/10/31 23:58:53 pelle
The IdentityCreator now fully works with the new Signer architecture.
*/
/**
* Marker interface to mark interactive PassPhraseAgents.
* User: pelleb
* Date: Oct 30, 2003
* Time: 5:13:49 PM
*/
public interface InteractiveAgent extends PassPhraseAgent {
}
--- NEW FILE: StoredPassphraseAgent.java ---
package org.neuclear.passphraseagents;
/*
NeuClear Distributed Transaction Clearing Platform
(C) 2003 Pelle Braendgaard
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
$Id: StoredPassphraseAgent.java,v 1.1 2003/10/31 23:58:53 pelle Exp $
$Log: StoredPassphraseAgent.java,v $
Revision 1.1 2003/10/31 23:58:53 pelle
The IdentityCreator now fully works with the new Signer architecture.
*/
/**
* This agent contains one passphrase which is read at startup
* from the configuration files.
* This should never be used for any kind of production server usage.
* User: pelleb
* Date: Oct 30, 2003
* Time: 5:01:14 PM
*/
public class StoredPassphraseAgent implements PassPhraseAgent {
public StoredPassphraseAgent(String name, String passphrase) {
this.name = name;
this.passphrase = passphrase.toCharArray();
System.out.println("StoredPassphraseAgent started.\nDO NOT USE FOR PRODUCTION SERVERS");
}
public char[] getPassPhrase(String name) {
if (name.equals(this.name))
return passphrase;
else
return new char[0];
}
private final String name;
private final char[] passphrase;
}
Index: CommandLineAgent.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/passphraseagents/CommandLineAgent.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CommandLineAgent.java 29 Oct 2003 21:16:27 -0000 1.1
--- CommandLineAgent.java 31 Oct 2003 23:58:53 -0000 1.2
***************
*** 25,28 ****
--- 25,31 ----
$Id$
$Log$
+ Revision 1.2 2003/10/31 23:58:53 pelle
+ The IdentityCreator now fully works with the new Signer architecture.
+
Revision 1.1 2003/10/29 21:16:27 pelle
Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore.
***************
*** 39,43 ****
* Time: 11:53:29 AM
*/
! public class CommandLineAgent implements PassPhraseAgent {
public char[] getPassPhrase(String name) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
--- 42,46 ----
* Time: 11:53:29 AM
*/
! public class CommandLineAgent implements InteractiveAgent {
public char[] getPassPhrase(String name) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
Index: GuiDialogAgent.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/passphraseagents/GuiDialogAgent.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** GuiDialogAgent.java 29 Oct 2003 21:16:27 -0000 1.1
--- GuiDialogAgent.java 31 Oct 2003 23:58:53 -0000 1.2
***************
*** 25,28 ****
--- 25,31 ----
$Id$
$Log$
+ Revision 1.2 2003/10/31 23:58:53 pelle
+ The IdentityCreator now fully works with the new Signer architecture.
+
Revision 1.1 2003/10/29 21:16:27 pelle
Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore.
***************
*** 43,47 ****
* Time: 5:49:14 PM
*/
! public final class GuiDialogAgent implements PassPhraseAgent {
public GuiDialogAgent() {
frame = new Frame("Please Enter Passphrase...");
--- 46,50 ----
* Time: 5:49:14 PM
*/
! public final class GuiDialogAgent implements InteractiveAgent {
public GuiDialogAgent() {
frame = new Frame("Please Enter Passphrase...");
***************
*** 70,76 ****
canvas.setSize(50, 50);
text.add(canvas);
- System.out.println("Added image");
} catch (InterruptedException ex) {
! System.out.println("Couldn't load Image");
}
--- 73,78 ----
canvas.setSize(50, 50);
text.add(canvas);
} catch (InterruptedException ex) {
! ;//System.out.println("Couldn't load Image");
}
***************
*** 132,137 ****
public static void main(String args[]) {
PassPhraseAgent dia = new GuiDialogAgent();
! System.out.println("Getting passphrase... " + dia.getPassPhrase("neu://pelle@test"));
! System.out.println("Getting passphrase... " + dia.getPassPhrase("neu://pelle@test"));
System.exit(0);
--- 134,139 ----
public static void main(String args[]) {
PassPhraseAgent dia = new GuiDialogAgent();
! System.out.println("Getting passphrase... " + new String(dia.getPassPhrase("neu://pelle@test")));
! System.out.println("Getting passphrase... " + new String(dia.getPassPhrase("neu://pelle@test")));
System.exit(0);
Index: PassPhraseAgent.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/passphraseagents/PassPhraseAgent.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PassPhraseAgent.java 29 Oct 2003 21:16:27 -0000 1.1
--- PassPhraseAgent.java 31 Oct 2003 23:58:53 -0000 1.2
***************
*** 2,6 ****
-
/*
NeuClear Distributed Transaction Clearing Platform
--- 2,5 ----
***************
*** 23,26 ****
--- 22,28 ----
$Id$
$Log$
+ Revision 1.2 2003/10/31 23:58:53 pelle
+ The IdentityCreator now fully works with the new Signer architecture.
+
Revision 1.1 2003/10/29 21:16:27 pelle
Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore.
***************
*** 40,43 ****
--- 42,52 ----
*/
public interface PassPhraseAgent {
+
+ /**
+ * Retrieve the PassPhrase for a given name/alias
+ *
+ * @param name
+ * @return
+ */
char[] getPassPhrase(String name);
}
|
|
From: <pe...@us...> - 2003-10-31 23:58:56
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/commandline
In directory sc8-pr-cvs1:/tmp/cvs-serv502/src/java/org/neuclear/signers/commandline
Modified Files:
CommandLineSigner.java IdentityCreator.java
Log Message:
The IdentityCreator now fully works with the new Signer architecture.
Index: CommandLineSigner.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/commandline/CommandLineSigner.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** CommandLineSigner.java 29 Oct 2003 21:16:27 -0000 1.10
--- CommandLineSigner.java 31 Oct 2003 23:58:53 -0000 1.11
***************
*** 1,4 ****
--- 1,7 ----
/* $Id$
* $Log$
+ * Revision 1.11 2003/10/31 23:58:53 pelle
+ * The IdentityCreator now fully works with the new Signer architecture.
+ *
* Revision 1.10 2003/10/29 21:16:27 pelle
* Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore.
***************
*** 213,219 ****
if (!Utility.isEmpty(alias)) {
! String password = Utility.denullString(cmd.getOptionValue("p"), cmd.getOptionValue("j")); // If we dont specify a password it defaults to ks password
!
! if (sig.canSignFor(alias)) {
System.err.println("Key with alias: " + alias + " doesnt exist");
System.exit(1);
--- 216,220 ----
if (!Utility.isEmpty(alias)) {
! if (!sig.canSignFor(alias)) {
System.err.println("Key with alias: " + alias + " doesnt exist");
System.exit(1);
Index: IdentityCreator.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/signers/commandline/IdentityCreator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** IdentityCreator.java 29 Oct 2003 21:16:27 -0000 1.2
--- IdentityCreator.java 31 Oct 2003 23:58:53 -0000 1.3
***************
*** 1,4 ****
--- 1,7 ----
/* $Id$
* $Log$
+ * Revision 1.3 2003/10/31 23:58:53 pelle
+ * The IdentityCreator now fully works with the new Signer architecture.
+ *
* Revision 1.2 2003/10/29 21:16:27 pelle
* Refactored the whole signing process. Now we have an interface called Signer which is the old SignerStore.
***************
*** 143,147 ****
import org.apache.commons.cli.Options;
! import org.neuclear.commons.configuration.Configuration;
import org.neuclear.id.NSTools;
import org.neuclear.id.builders.IdentityBuilder;
--- 146,150 ----
import org.apache.commons.cli.Options;
! import org.neuclear.commons.NeuClearException;
import org.neuclear.id.NSTools;
import org.neuclear.id.builders.IdentityBuilder;
***************
*** 162,169 ****
public IdentityCreator(String args[]) throws Exception {
super(args);
identity = cmd.getOptionValue("n");
of = Utility.denullString(of, "." + NSTools.url2path(identity) + "/root.id");
alias = Utility.denullString(alias, NSTools.getParentNSURI(identity));
! pksource = (PublicKeySource) Configuration.getComponent(PublicKeySource.class, "neuclear-id");
}
--- 165,175 ----
public IdentityCreator(String args[]) throws Exception {
super(args);
+ if (!(sig instanceof PublicKeySource))
+ throw new NeuClearException("The default signer has to include public keys");
+ pksource = (PublicKeySource) sig;
identity = cmd.getOptionValue("n");
of = Utility.denullString(of, "." + NSTools.url2path(identity) + "/root.id");
alias = Utility.denullString(alias, NSTools.getParentNSURI(identity));
!
}
***************
*** 189,192 ****
--- 195,199 ----
e.printStackTrace();
}
+ System.exit(0);
}
|