Displaying 20 results from an estimated 2000 matches similar to: "obfuscating sensitive data"
2009 May 06
4
Encrypting large amounts of text
Hi,
I have an application where I want to be able to encrypt large amounts
of text before storing them to my DB (MySQL Text field - might be
switched to a Blob). I have an idea of how to do this, but was
wondering what the general consensus is within the community regarding
the issue.
I have come across a couple different plug ins/gems (Stringbox,
EzCrypto), but am wondering what other people
2012 Jan 12
2
Request for obfuscating the handshake
Dear OpenSSH team,
First of all thanks a lot for your good work on developing such a usable
peace of software. Nice job.
As you may know, we have some issues using OpenSSH in Iran. Recently the
government did some packet filtering on some protocols, including SSH. We
don't know what exactly they've done but it appears to be some routing rule
that prevents SSH protocol to initiate a
2005 Dec 17
2
Encrypting files
Anyone know of a good (fast) way to encrypt/decrypt uploaded files in
RoR? I''ve seen this project: http://ezcrypto.rubyforge.org/ but it
only seems to encrypt strings and such. I need to encrypt files once
they are uploaded, then decrypt them when they request the file back.
Any ideas?
Thanks,
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Apr 23
1
ezcrypto HELP!!!!
I''m using the ezcrypto library for aes encryption, but i''m running into some
weird cases that i cant seem to figure out.
What i''m doing is trying to encrypt someting in php using standard AES 128.
I''m taking the output from php and trying to decrypt it with ruby using
ezcrypto.
This seems to work for a lot of cases, but it does not work for some
others. Any
2006 Jun 09
1
crypto-key.rb
Does anyone know how to implement the crypto-key.rb as found on
http://swik.net/Typo/too-biased/Simple+Encryption/ckpz
It allows for encryption and decryption of credit card numbers that
are stored in a database. I am somewhat new to Rails, and I don''t
always know how to use libraries and modules.
Thanks,
will clark // graphic design
www.willclarkdesigns.com/
2011 Mar 07
1
blowfish encrypted url in ruby
How to encrypt and decrypt the url using blowfish in ruby?
ex: url=
http://localhost:3000?username=vam&paswd=1234&street=hyd&contact=999999999&company=raymarine&city=hyd&state=UP&country=ZP&zip_code=543211
please help its very urgent.
Thanks in advance - Vam
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to
2010 Apr 17
5
behavioural testing of puppet manifests with cucumber-puppet
Hi,
I''d like to announce a little tool I have written, called cucumber-
puppet. It supports writing behavioural tests for your puppet
manifest, using cucumber. This allows for BDD-style manifest
development and fearless refactorings.
http://blog.nistu.de/cucumber_puppet_0_0_3_released.html
Let me know what you think!
cheers,
Nikolay
--
You received this message because you are
2016 Oct 12
5
Backup Suggestion on C7
Hi list,
I'm building a backup server for 3 hosts (1 workstation, 2 server). I
will use bacula to perform backups. The backup is performed on disks (2
x 3TB on mdraid mirror) and for each hosts I've created a logical volume
with related size.
This 3 hosts have different data size with different disk change rate.
Each host must have a limited sized resource and a reserved space. If a
2009 Apr 24
4
Long string in crypting
I use a solution to crypt a string that I found using OpenSSL. But the
crypted string becomes very long, too long for a varchar 255 to hold it.
What can I do to make it shorter? Or should I just use text as column in
the mysql db?
public_key_file = ''lib/public.pem''
public_key = OpenSSL::PKey::RSA.new(File.read(public_key_file))
@encrypted_string =
2000 Jun 21
4
Case sensitive password Win95 client
Hello,
I need an answer to the following problem:
I have a Samba server with domain logons enabled and with
encrypt passwords=no. So I don't use the smbpasswd file, only
the Unix password files.
When I try to logon with a Win95 client (client for Microsoft Networks,
logging on to a domain), people with mixed-case passwords cannot logon
to the Samba logon server. Those with a password in
2010 Jun 03
2
creating fixtures for has_many :through
I''m stymied at how to create a fixture that establishes a has_many
:through relationship.
I''ve watched the railscast at:
http://media.railscasts.com/videos/081_fixtures_in_rails_2.mov
... but that''s for HABTM relationships. I''ve read:
http://www.ruby-forum.com/topic/145676
but that ultimately doesn''t answer any question. So with no further
ado:
2010 Apr 20
13
why is ActiveRecord tying to select nonex ID column?
I''ve loaded (and updated) thousands of these MeteredUsage records. In
the middle of a run, I suddenly get:
ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ''id'' in
''where clause'': UPDATE `metered_usages` SET `cost` = 12603.46 WHERE `id`
= NULL
I can''t see anything that''s different about this particular record
compared to
2010 Apr 21
12
Using AR.connection.execute(sql) -- messing with my string?
Does ActiveRecord.connection.execute(string) perform any modifications
on the given string? If so, what quoting do I need to add?
Here''s why: I''m trying to use execute(string) to load a stored
procedure. I can hand-load the procedure without error (i.e. via
dbconsole), but when I call the function below, it throws the error:
====
ActiveRecord::StatementInvalid: Mysql::Error:
2006 Feb 19
2
Asynchronous Encryption?
Hi Railers,
I''m looking for something to do asynchronous encryption - where the encryption
and decryption keys are different. This is for a scenario where I want to be
able to store some information in the database that can only be decrypted in
a different physical location using a secret private key (which will not be
stored on the machine doing the encrypting).
I''m trying
2011 Mar 01
6
render :collection calling partial with phantom object?
I have two models with a straightforward has_many / belongs_to
relationship:
class Premise < ActiveRecord::Base
has_many :metered_services, :dependent => :destroy
...
end
class MeteredService < ActiveRecord::Base
belongs_to :premise
...
end
and nested routes to match:
Demo::Application.routes.draw do
devise_for :users
resources :premises do
resources :metered_services
2012 Jun 21
6
where do I report this DateTime bug?
I have isolated what appears to be a bug in the Rails extensions to
DateTime, but I don''t know where to report it.
I have a standalone file to demonstrate the bug, but the punch line is
that this code:
TestRecord.create!(:f_datetime => (expected = DateTime.jd(2000000)))
found = TestRecord.first.f_datetime
puts("expected == found => #{expected == found}")
2010 Jun 02
5
user routing versus admin routing strategies?
In an app where ordinary users are limited to viewing and editing their
own "stuff", but someone with admin privs can view and edit anybody''s
stuff, what''s the right strategy for routing?
At first blush, I''d think that an ordinary user (e.g. with id 565)
should see something like:
http://example.com/mystuff.html
... where the controller assumes
2012 Mar 22
6
rescuing ActiveRecord::RecordNotUnique: clever or ugly?
I have an ActiveRecord that has several foreign keys, where the foreign
keys act as a single compound key that needs to be unique:
class CreateRelations < ActiveRecord::Migration
def change
create_table :relations do |t|
t.references :src, :null => false
t.references :dst, :null => false
end
add_index :relations, [:src_id, :dst_id], :unique => true
end
end
2010 Nov 09
3
help getting started with javascript generated forms
How does one generate a form within a view using javascript?
Specifically, assume views/premise/new.html.erb looks like this:
<%= form_for(Premise.new) do |f| %>
<%= f.hidden_field :full_address, :value => $FULL_ADDRESS %>
<%= f.hidden_field :geocoding, :value => $GEOCODING %>
<%= f.submit :value => "use this address" %>
<%= f.label
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create*
*
*
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at
/home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
DEPRECATION WARNING: Rake tasks in