Comments (5)
Hello can you check if it works if you apply #47 ? This might fix this!
from rubywarden.
Thanks for the patch. I've manually patched the lib/helper.rb file as per the commit and its now working.
from rubywarden.
Spoke to soon. Looks like it now saves every field apart from "Social Security Number"
from rubywarden.
i just checked the web-vault code, and it looks like for the other fields it looks for posted-name with first letter upcased, but for SSN it wants all letters upcased, so right now the code generates Ssn
, but it wants SSN
.
The chrome addon sends "ssn" as the parameter name, I'll cross-check with the web-vault and maybe one needs to special case ssn... :(
edith says: yep, the web-vault sends the keys in a different format, then it expects them back... :( no clue why this is, maybe because of historical reasons...
And changing the helper to this, solves this problem. It probably makes more sense to move this in an app specific helper like: BitwardenRuby::convert_params(p)
class Sinatra::IndifferentHash
def ucfirst_hash
out = {}
self.each do |k,v|
base = k.to_s
out[base == "ssn" ? "SSN" : base.ucfirst] = v
end
out
end
end
from rubywarden.
note to myself: need to cross-check with the new web-vault if anything in parameter handling changed there.
from rubywarden.
Related Issues (20)
- - NoMethodError - undefined method `passwordhistory' for #<Cipher:0x00000008093a8b38>: HOT 1
- Import from Enpass? HOT 2
- iOS app crash after latest update HOT 18
- How to backup and restore? HOT 2
- CORS for new Safari Extension HOT 7
- Problem to update or sync after update HOT 2
- using web vault
- Upgrade error
- Implement 2FA recovery code
- Deleting folder doesn't clear matching "folderId" from items
- Provide procedure to implement HTTPS HOT 2
- Error when importing passwords from KeePass HOT 4
- DEBUG messages HOT 1
- 404 error when deleting entry HOT 5
- Saving attachments does not work HOT 1
- Error when importing from KeePass 2.x
- Delete user HOT 1
- Invalid master password when unlocking desktop client HOT 2
- rubywarden no longer being updated HOT 5
- Fork? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubywarden.