mirror of
https://github.com/google/nomulus.git
synced 2025-05-16 17:37:13 +02:00
Fix a few incorrect mentions of Nomulus
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136079699
This commit is contained in:
parent
3dbcee55bd
commit
d355aebe01
6 changed files with 7 additions and 8 deletions
|
@ -21,7 +21,7 @@ import java.net.URL;
|
||||||
import org.joda.time.Duration;
|
import org.joda.time.Duration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Nomulus configuration for global constants that can't be injected.
|
* Registry configuration for global constants that can't be injected.
|
||||||
*
|
*
|
||||||
* <p>The goal of this custom configuration system is to have our project environments configured
|
* <p>The goal of this custom configuration system is to have our project environments configured
|
||||||
* in type-safe Java code that can be refactored, rather than XML files and system properties.
|
* in type-safe Java code that can be refactored, rather than XML files and system properties.
|
||||||
|
|
|
@ -55,7 +55,7 @@ public enum RegistryEnvironment {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns configuration for this Nomulus environment.
|
* Returns configuration for this registry environment.
|
||||||
*
|
*
|
||||||
* <p><b>WARNING:</b> Do not store this value to a static field, otherwise you won't be able to
|
* <p><b>WARNING:</b> Do not store this value to a static field, otherwise you won't be able to
|
||||||
* override it for testing. You should instead store the environment object to a static field.
|
* override it for testing. You should instead store the environment object to a static field.
|
||||||
|
|
|
@ -287,7 +287,7 @@
|
||||||
Any request path starting with `/_dr/` will be restricted to requests originating
|
Any request path starting with `/_dr/` will be restricted to requests originating
|
||||||
from the backend or by anyone authenticated to a Google account that's listed in
|
from the backend or by anyone authenticated to a Google account that's listed in
|
||||||
the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
|
the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
|
||||||
The `_dr` is short for Nomulus to follow AppEngine naming conventions.
|
The `_dr` is short for domain registry to follow AppEngine naming conventions.
|
||||||
</description>
|
</description>
|
||||||
<url-pattern>/_dr/*</url-pattern>
|
<url-pattern>/_dr/*</url-pattern>
|
||||||
</web-resource-collection>
|
</web-resource-collection>
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
Any request path starting with `/_dr/` will be restricted to requests originating
|
Any request path starting with `/_dr/` will be restricted to requests originating
|
||||||
from the backend or by anyone authenticated to a Google account that's listed in
|
from the backend or by anyone authenticated to a Google account that's listed in
|
||||||
the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
|
the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
|
||||||
The `_dr` is short for Nomulus to follow AppEngine naming conventions.
|
The `_dr` is short for domain registry to follow AppEngine naming conventions.
|
||||||
</description>
|
</description>
|
||||||
<url-pattern>/_dr/*</url-pattern>
|
<url-pattern>/_dr/*</url-pattern>
|
||||||
</web-resource-collection>
|
</web-resource-collection>
|
||||||
|
|
|
@ -142,7 +142,7 @@
|
||||||
Any request path starting with `/_dr/` will be restricted to requests originating
|
Any request path starting with `/_dr/` will be restricted to requests originating
|
||||||
from the backend or by anyone authenticated to a Google account that's listed in
|
from the backend or by anyone authenticated to a Google account that's listed in
|
||||||
the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
|
the AppEngine control panel settings for this project as a Viewer/Owner/Developer.
|
||||||
The `_dr` is short for Nomulus to follow AppEngine naming conventions.
|
The `_dr` is short for domain registry to follow AppEngine naming conventions.
|
||||||
</description>
|
</description>
|
||||||
<url-pattern>/_dr/*</url-pattern>
|
<url-pattern>/_dr/*</url-pattern>
|
||||||
</web-resource-collection>
|
</web-resource-collection>
|
||||||
|
|
|
@ -134,7 +134,6 @@ public class RydeGpgIntegrationTest extends ShardableTestCase {
|
||||||
|
|
||||||
// Iron Mountain examines the ryde file to see what sort of OpenPGP layers it contains.
|
// Iron Mountain examines the ryde file to see what sort of OpenPGP layers it contains.
|
||||||
//
|
//
|
||||||
// jart@jart:/tmp$ gpg --list-packets /tmp/deposit.ryde
|
|
||||||
// :pubkey enc packet: version 3, algo 1, keyid 239F455A2ACEE5C2
|
// :pubkey enc packet: version 3, algo 1, keyid 239F455A2ACEE5C2
|
||||||
// data: [2047 bits]
|
// data: [2047 bits]
|
||||||
// :encrypted data packet:
|
// :encrypted data packet:
|
||||||
|
@ -179,11 +178,11 @@ public class RydeGpgIntegrationTest extends ShardableTestCase {
|
||||||
assertWithMessage("Unexpected receiver public key").that(stderr).contains("ID 54E1EB0F");
|
assertWithMessage("Unexpected receiver public key").that(stderr).contains("ID 54E1EB0F");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Iron Mountain now verifies that rydeFile is authentic and was signed by Google.
|
// Iron Mountain now verifies that rydeFile is authentic and was signed appropriately.
|
||||||
//
|
//
|
||||||
// jart@jart:/tmp$ gpg --verify /tmp/deposit.sig /tmp/deposit.ryde
|
// jart@jart:/tmp$ gpg --verify /tmp/deposit.sig /tmp/deposit.ryde
|
||||||
// gpg: Signature made Mon 26 Aug 2013 12:04:27 PM EDT using RSA-S key ID 2774D88E
|
// gpg: Signature made Mon 26 Aug 2013 12:04:27 PM EDT using RSA-S key ID 2774D88E
|
||||||
// gpg: Good signature from "Nomulus Dev <domain-registry-eng+dev-key@google.com>"
|
// gpg: Good signature from <rde-unittest@registry.test>
|
||||||
logger.info("Running GPG to verify signature...");
|
logger.info("Running GPG to verify signature...");
|
||||||
{
|
{
|
||||||
Process pid = gpg.exec(cmd.get(), "--verify", sigFile.toString(), rydeFile.toString());
|
Process pid = gpg.exec(cmd.get(), "--verify", sigFile.toString(), rydeFile.toString());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue