This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get the encrypted string which is base64 encoded | |
var encrypted_string = $("#file-contents").val(); | |
// base64 decode it | |
var wordarray = CryptoJS.enc.Base64.parse(encrypted_string); | |
// convert back to AES object | |
var decryptstring = CryptoJS.enc.Utf16.stringify(wordarray); | |
// fetch the password - this should be typed into a form. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processing by Katello::Api::V2::SystemsController#index as JSON | |
Parameters: {"organization_id"=>"1", "page"=>"1", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC", "api_version"=>"v2"} | |
Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/systems/index.json.rabl within katello/api/v2/layouts/collection (346.4ms) | |
Completed 200 OK in 374ms (Views: 344.2ms | ActiveRecord: 4.8ms) | |
Processing by Katello::EnvironmentsController#registerable_paths as JSON | |
Parameters: {"organization_id"=>"1"} | |
Completed 200 OK in 39ms (Views: 0.5ms | ActiveRecord: 4.9ms) | |
Processing by Katello::Api::V2::SystemsController#show as JSON | |
Parameters: {"fields"=>"full", "api_version"=>"v2", "id"=>"1b51e9a7-38e2-4a5e-93e3-03d42970f645"} | |
Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/systems/show.json.rabl within katello/api/v2/layouts/resource (1660.7ms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready( | |
function() { | |
$("#cryptojs-encrypt-button").on("click", readSingleFile); | |
function readSingleFile(event) { | |
var file = $('#files')[0].files[0]; | |
if (file) { | |
var reader = new FileReader(); | |
reader.onload = function(file) { | |
// grab the password the user supplied | |
var key = $('#encrypt-password').val(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready( | |
function() { | |
$("#cryptojs-encrypt-button").on("click", readSingleFile); | |
function readSingleFile(event) { | |
var file = $('#files')[0].files[0]; | |
if (file) { | |
var reader = new FileReader(); | |
reader.onload = function(file) { | |
// grab the password the user supplied | |
var key = $('#encrypt-password').val(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> reader.result | |
ArrayBuffer {} | |
>>> ab2str(reader.result) | |
"䥇㡆愹⇿ᇾ牃慥整楷桴䜠䵉P,�ĀĀ�Ȃń㬀" | |
>>> ab2str(reader.result).length | |
28 | |
>>> reader.result.length | |
undefined | |
>>> blob = new Blob(ab2str(reader.result)) | |
[Exception... "The method parameter is missing or invalid." code: "0" nsresult: "0x8053001a (TypeError)" location: "<unknown>"] { code=0, message="The method parameter is missing or invalid.", result=2152923162, more...} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Redirected to https://satellite.ejacobs.local/hosts/client-11.ejacobs.local | |
Completed 302 Found in 21ms (ActiveRecord: 2.5ms) | |
Processing by HostsController#show as HTML | |
Parameters: {"id"=>"client-11.ejacobs.local"} | |
x27[1mx27[35mUser Load (0.5ms)x27[0m SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]] | |
Setting current user thread-local variable to Admin User | |
x27[1mx27[36m (0.3ms)x27[0m x27[1mSELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization')x27[0m | |
x27[1mx27[35mOrganization Load (0.3ms)x27[0m SELECT "taxonomies".* FROM "taxonomies" WHERE "taxonomies"."type" IN ('Organization') AND "taxonomies"."id" = 1 ORDER BY title LIMIT 1 | |
Setting current organization thread-local variable to ACME_Corporation | |
x27[1mx27[36m (0.2ms)x27[0m x27[1mSELECT COUNT(*) FROM "taxonomies" WHERE "taxonomies"."type" IN ('Location')x27[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class='row'> | |
<div class='col-xs-6'> | |
<form accept-charset="UTF-8" action="/files/40e77a31-5cbc-4204-b8b8-04cfa0da510e" id="file_form" method="post" role="form"> | |
<div style="margin:0;padding:0;display:inline"> | |
<input name="utf8" type="hidden" value="✓" /> | |
<input name="_method" type="hidden" value="put" /> | |
<input name="authenticity_token" type="hidden" value="Ew0Ppp1td8AKV4VqQfhwWGjcPXhLE+s4NHCtZkgWyag=" /> | |
</div> | |
<input id="file_contents" name="file_contents" type="hidden" /> | |
<input id="retrieve_key" name="retrieve_key" type="hidden" value="2822" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processing by Katello::ContentSearchController#puppet_modules as */* | |
Parameters: {"repos"=>{"search"=>""}, "puppet_modules"=>{"search"=>""}, "content_type"=>"puppet_modules", "mode"=>"all", "environments"=>[1], "content_search"=>{"repos"=>{"search"=>""}, "puppet_modules"=>{"search"=>""}, "content_type"=>"puppet_modules", "mode"=>"all", "environments"=>[1]}} | |
PGError: ERROR: column reference "id" is ambiguous | |
LINE 1: SELECT id FROM "katello_repositories" INNER JOIN "katello_pr... | |
^ | |
: SELECT id FROM "katello_repositories" INNER JOIN "katello_products" ON "katello_products"."id" = "katello_repositories"."product_id" INNER JOIN "katello_content_view_versions" ON "katello_content_view_versions"."id" = "katello_repositories"."content_view_version_id" WHERE "katello_content_view_versions"."content_view_id" IN (1) AND "katello_repositories"."product_id" IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21) ORDER BY katello_repositories.name ASC (ActiveRecord::StatementInvalid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RequestData | |
attr_accessor :email, :mobile, :timestamp | |
def initialize(hash) | |
@email = hash[:email] | |
@mobile = hash[:mobile] | |
self.timestamp = Time.now.getutc.to_f | |
end | |
def uri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
May 28 11:47:19 satellite pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._reserve_resource[d31ded17-54ad-48d9-9d4d-0679fbf36789] | |
May 28 11:47:19 satellite pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._reserve_resource[907a8093-c46a-4c10-a939-e3d64cdcb5b4] | |
May 28 11:47:19 satellite pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._reserve_resource[01f2812d-327b-44b7-a42a-7dd4ccca33fa] | |
May 28 11:47:19 satellite pulp: celery.worker.strategy:INFO: Received task: pulp.server.async.tasks._reserve_resource[3830426b-aaea-4c5f-a969-93e86b5bbe54] | |
May 28 11:47:19 satellite pulp: celery.worker.job:ERROR: Task pulp.server.async.tasks._reserve_resource[d31ded17-54ad-48d9-9d4d-0679fbf36789] raised unexpected: NoAvailableQueues('There are no available queues in the system for reserved task work.',) | |
May 28 11:47:19 satellite pulp: celery.worker.job:ERROR: Traceback (most recent call last): | |
May 28 11:47:19 satellite pulp: celery.worker.job:ERROR: |