ceph: align data in pages in ceph_sync_write ceph: don't use special DIO path for encrypted inodes ceph: disable copy offload on encrypted inodes ceph: disable fallocate for encrypted inodes libceph: allow ceph_osdc_new_request to accept a multi-op read ceph: add truncate size handling support for fscrypt ceph: add infrastructure for file encryption and decryption ceph: add object version support for sync read ceph: add _ceph_sync_read helper support ceph: handle fscrypt fields in cap messages from MDS ceph: get file size from fscrypt_file when present in inode traces ceph: fscrypt_file field handling in MClientRequest messages ceph: size handling for encrypted inodes in cap updates libceph: add CEPH_OSD_OP_ASSERT_VER support ceph: don't allow changing layout on encrypted files/directories ceph: make ceph_get_name decrypt filenames ceph: create symlinks with encrypted and base64-encoded targets ceph: add support to readdir for encrypted filenames ceph: add ceph_encode_encrypted_dname() helper ceph: pass the request to parse_reply_info_readdir() ceph: add fscrypt support to ceph_fill_trace ceph: fix base64 encoded name's length check in ceph_fname_to_usr() ceph: add helpers for converting names for userland presentation ceph: make d_revalidate call fscrypt revalidator for encrypted dentries ceph: set DCACHE_NOKEY_NAME in atomic open ceph: properly set DCACHE_NOKEY_NAME flag in lookup ceph: encode encrypted name in dentry release ceph: add encrypted fname handling to ceph_mdsc_build_path ceph: add base64 endcoding routines for encrypted names ceph: make ceph_msdc_build_path use ref-walk ceph: make the ioctl cmd more readable in debug log ceph: decode alternate_name in lease info ceph: implement -o test_dummy_encryption mount option ceph: add support for fscrypt_auth/fscrypt_file to cap messages ceph: ensure that we accept a new context from MDS for new inodes ceph: preallocate inode for ops that may create one fscrypt: add fscrypt_context_for_new_inode fscrypt: export fscrypt_fname_encrypt and fscrypt_fname_encrypted_size fs: change test in inode_insert5 for adding to the sb list ceph: add new mount option to enable sparse reads libceph: add sparse read support to msgr1 libceph: support sparse reads on msgr2 secure codepath libceph: add sparse read support to OSD client libceph: add sparse read support to msgr2 crc state machine libceph: define struct ceph_sparse_extent and add some helpers ![]() libceph: add spinlock around osd->o_requests ![]() To: ceph: add support to readdir for encrypted UEzfiVjSy2SHGOxpHxLVoNQRQwyivDgM68VUV6VD6YlXF7tLxntb+KMxcMBhzeWsC2 Y1QiJvrxxL9GQf5AZW1Ei1KGMU97YdsGaQt3Q23vhb9KjtL58xCh+5Og87VLrPn41JġofT8i1hB0Beo+JAZtYIH6Y/FpZblBa+EPUJrj+Y+GtBheWwJNikqXhFTANUNwGuO8 OVQDVuR6DjF2GoEGhBTWyG4wj3iex27pb6o0PvP/pPQTYu6s0HOCGP5cpd/Yu7vF8z H=From:To:Cc:Subject:Date:In-Reply-To:References:From ī=Ej1+c+NY5C3/DJi7Px3Ak/N59957+9yUZ5hrRK5nsGrIkUKfbW0afVksIxCWqng70 Received: by (Postfix) with ESMTPSA id 196FCC385AE ĭKIM-Signature: v=1 a=rsa-sha256 c=relaxed/simple d= īh=LuGiWEBS6dOrw5jEKYcRGI7O8GPpWfvTC83a1pvBsSo= Received: from (īy (Postfix) with ESMTPS id 962283878C Received: from ( )īy (Postfix) with ESMTP id B3409C4332F In addition I advise you looking up a number of open source implementations of the real thing, if you want to understand the algorithm better.X-Spam-Checker-Version: SpamAssassin 3.4.0 () onĪ Please refer to the spec for all the intricacies of "real" implementation. Security of this implementation is zilch. You just have encrypted each byte individually using very short key. Note though, that what you just did is NOT really RSA encryption. Now substitute your / with our new ones and you should be good to go. In order for your example to work, you need to substitute / with your custom functions that translate latin alphabet characters to bytes between 0-54 and back.įor example you can do it like this: private static byte GetBytes(string s)įor (int i = 0 i = 'a' & s = 'A' & s = 0 & b = 26 & b < 52) Values that you encode have to be less than Modulo, which is in your case 55.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |