Comments (5)
If you want to avoid dependencies, you can do:
echo "$password" | xsel -i
You can check for xsel at startup time and offer the copy key if xsel is available
from cpm.
Sounds like a good idea. I've seen it elsewhere, but can't remember where.
from cpm.
Hey,
yeah it already exists in pwsafe: http://sourceforge.net/projects/pwsafe/
from cpm.
This can be done, however CPM is not an Xwindows application; it is a console application. Interfacing with X requires dependencies on libs that aren't necessarily available or wanted, so we would have to either
- build a separate package that supports copying to x selection, or
- make some autoloading functionality that only activates when the lib is present, to avoid introducing package deps
I prefer to do the latter and I am happy to take contributions for pushing into X selection.
from cpm.
Hello,
yeah, I tried it already to implement the feature but I failed, because I'm too less experienced in writing C code. So I'm really sorry about that. But if I can help you, let me know.
You're right it would be mad to require X depencies on a server!
from cpm.
Related Issues (20)
- cpm: initial curses screen setup not correct HOT 1
- cpm aborts on start: Can't attach to parent! HOT 5
- cpm doesn't ask for gpg key password, but: gpgme error / bad passphrase HOT 3
- Unable to specify encryption key HOT 3
- Draw the console UI with something other than CDK.
- Trusting keys from CPM
- Automating nonsense in the cpmgit gitlog HOT 1
- security check failure HOT 3
- "Cannot drop root privileges." on debian/jessie/i386
- cpm doesn't reset terminal on start
- libncursesw5-dev missing as install dependency
- make install doesn't create LC_MESSAGES
- Feature request: Inactivity timeout HOT 4
- feature request: open password databases without local trust HOT 3
- Can't run as non-root user HOT 1
- execl() in clear_screen needs a NULL terminator. HOT 1
- Cannot modify database: "You did not specify any encryption keys. " HOT 2
- Please document how to decrypt the file with gpg HOT 1
- Problems with opening and closing cpm in Debian 10 buster HOT 1
- The key you entered could not be validated.
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 cpm.